From 4348a2ceb91a03cacdfeef7619360df14d4d2f3f Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 14 Nov 2009 15:19:26 +0000 Subject: installing example configs in seperater example dir now no gzip on manpages at install --- src/configure | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/configure') diff --git a/src/configure b/src/configure index 77002f3..cfffbe7 100755 --- a/src/configure +++ b/src/configure @@ -47,6 +47,7 @@ BINDIR='' SBINDIR='' ETCDIR='' MANDIR='' +EXAMPLESDIR='' print_usage() { echo "configure --help print this" @@ -56,6 +57,7 @@ print_usage() { echo " --sbindir= the path to the sbin directory (default: $PREFIX/sbin)" echo " --sysconfdir= the path to the system configuration directory (default: $PREFIX/etc" echo " --mandir= the path to the system man pages (default: $PREFIX/share/man)" + echo " --examplesdir= the path to the examples files (default: $PREFIX/share/examples)" echo " --use-ssl-crypto use ssl crypto library instead of libgcrypt" echo " --no-crypto disable crypto at all (only NULL cipher)" echo " --disable-passphrase disable master key and salt passphrase" @@ -85,6 +87,9 @@ do --mandir=*) MANDIR=${arg#--mandir=} ;; + --examplesdir=*) + EXAMPLESDIR=${arg#--examplesdir=} + ;; --use-ssl-crypto) CRYPTO_LIB='ssl' ;; @@ -189,6 +194,10 @@ if [ -z "$MANDIR" ]; then MANDIR=$PREFIX/share/man fi +if [ -z "$EXAMPLESDIR" ]; then + EXAMPLESDIR=$PREFIX/share/examples +fi + cat >> include.mk <