summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorIan McIntosh <ian_mcintosh@linuxadvocate.org>2005-02-19 07:39:14 +0000
committerIan McIntosh <ian_mcintosh@linuxadvocate.org>2005-02-19 07:39:14 +0000
commit98c33a7ff97f46cee64b8ade0128abda5a5df7c4 (patch)
treef7f99dd20828d22a5f939c3f62c5d6070979ecde /autogen.sh
parent40f4790e29db22ff47b071f92ab60ec96b5bc6dc (diff)
Added autogen.sh.
Added autogen.sh Added autogen.sh.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..57c6660
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,23 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+if test -z "$GNOME2_DIR" ; then
+ GNOME_COMMON_DATADIR="/usr/share"
+else
+ GNOME_COMMON_DATADIR="$GNOME2_DIR/share"
+fi
+
+GNOME_COMMON_MACROS_DIR="macros"
+
+export GNOME_COMMON_DATADIR
+export GNOME_COMMON_MACROS_DIR
+
+ACLOCAL_FLAGS="-I $GNOME_COMMON_MACROS_DIR $ACLOCAL_FLAGS"
+export ACLOCAL_FLAGS
+
+PKG_NAME="the package"
+
+. $srcdir/$GNOME_COMMON_MACROS_DIR/autogen.sh