summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-06-28 15:22:52 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-06-28 15:22:52 +0000
commitf9b186fdd589267fc8d448ffc5da6d775afe01f2 (patch)
treec7a73c21b3e75109aba12704c3db4728907dbabe /autogen.sh
parent9bc6e165c4c22f0eb412b306b7e0032a0f6dcac0 (diff)
Add buildsystem for oclock
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 "$@"
+