summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-06 20:42:02 +0000
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>2005-07-06 20:42:02 +0000
commitc4b22b69df1162dab5db3691053ac0b6fb4c4503 (patch)
tree573534ccadd6d2d5ca9c70c660af97e7107a3243 /autogen.sh
parent15c4274c3da2c63bd83b14ef4d35727222d62ed2 (diff)
Build system for xkbprint
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 "$@"
+