summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-06-22 23:52:44 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-06-22 23:52:44 +0000
commite6418cf03e9a7f835a7ee7d958ea6a1d4318f7b5 (patch)
tree0002baf1868d08c75c3a929e64c48bd65fb38d13 /autogen.sh
parent0bb4b31a8aa87da2b2e859780d8d6a6cf7a1db77 (diff)
- Add script that can generate the build system for applications
- Add build system for appres
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..e81f989
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"
+