gnucash-docs master: Make autogen work in non-srcdir builds
John Ralls
jralls at code.gnucash.org
Mon Feb 24 15:15:26 EST 2014
Updated via https://github.com/Gnucash/gnucash-docs/commit/c6bba3a7 (commit)
from https://github.com/Gnucash/gnucash-docs/commit/aa1fbb8f (commit)
commit c6bba3a70010ac10a34857e473dc6d07fc243508
Author: John Ralls <jralls at ceridwen.us>
Date: Mon Feb 24 11:54:26 2014 -0800
Make autogen work in non-srcdir builds
diff --git a/autogen.sh b/autogen.sh
index afa5187..cf0b23b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -4,6 +4,10 @@
# Exit this script if any command fails with non-zero exit status.
set -e
+if test -z "$srcdir" ; then srcdir=`dirname $0` ; fi
+if test -z "$srcdir" ; then srcdir=. ; fi
+cd $srcdir
+
PROJECT=gnucash-docs
DIE=0
@@ -18,6 +22,7 @@ DIE=0
: ${AUTOHEADER=autoheader}
: ${AUTOMAKE=automake}
: ${AUTOCONF=autoconf}
+ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I ."
(${AUTOCONF} --version) < /dev/null > /dev/null 2>&1 || {
echo
Summary of changes:
autogen.sh | 5 +++++
1 file changed, 5 insertions(+)
More information about the gnucash-changes
mailing list