summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2010-10-28 01:05:14 +0000
committerStef Walter <stef@thewalter.net>2011-01-23 15:47:45 -0600
commitbe6176d7ef5272d7b26ef4d9a1ecd8763fc91488 (patch)
treecc32ee6aaea027c07447bbc194fd558cabd34390 /autogen.sh
parent2ada2c782d10375c51525f24e521bf213882177f (diff)
Reorganize to better match git.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..1d2c8d9
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+# Some boiler plate to get git setup as expected
+if test -d .git; then
+ if test -f .git/hooks/pre-commit.sample && \
+ test ! -f .git/hooks/pre-commit; then
+ cp -pv .git/hooks/pre-commit.sample .git/hooks/pre-commit
+ fi
+fi
+
+set -x
+
+aclocal
+autoheader
+automake -a
+autoconf
+./configure "$@"