# Set the defaults for values the user can specify with command-line
# options.
PREFIX=/usr/local
-LIBDIR=${PREFIX}/lib
+LIBDIR=
usage ()
{
command line.
--prefix=PREFIX Install files in PREFIX [$PREFIX]
- --libdir=LIBDIR Install libraries in LIBDIR [$LIBDIR]
By default, "make install" will install the resulting program to
$PREFIX/bin, documentation to $PREFIX/man, etc. You can
./configure --prefix=\$HOME
+Fine tuning of some installation directories is available:
+
+ --libdir=DIR Install libraries in LIBDIR [PREFIX/lib]
+
EOF
}
prefix = ${PREFIX}
# The directory to which notmuch libraries should be installed
-libdir = ${LIBDIR}
+libdir = ${LIBDIR:=$PREFIX/lib}
# The directory to which emacs lisp files should be installed
emacs_lispdir=${emacs_lispdir}