summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-04-02 16:02:02 +0200
committerDanny Baumann <dannybaumann@web.de>2007-04-02 16:02:02 +0200
commitcdbeb824282ac6e58860b73c4cb6d933e2afaac7 (patch)
tree0ad8a320d19d746d18aa66054fd03e705368228d /autogen.sh
parentf4d1fd48ab08f4a8ac417cec5496c84b5f55afce (diff)
downloadberyl-premerge-cdbeb824282ac6e58860b73c4cb6d933e2afaac7.tar.gz
beryl-premerge-cdbeb824282ac6e58860b73c4cb6d933e2afaac7.tar.bz2
added preliminary build system (most likely doesn't work yet)
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..0f2471d
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+glib-gettextize --copy --force || exit 1
+intltoolize --automake --copy --force || exit 1
+
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"
+