summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-05 21:13:49 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-05 21:13:49 +0000
commit8d94211de5403640c6fc532952d0c4c923bd90b1 (patch)
treed85b914a3ff6b6ab9f281337dacdf230d9d7fdf6 /autogen.sh
parent202294e5cb0ab307c4e4fa200b1921ecc38f7044 (diff)
build system for xkill
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 "$@"
+