summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2009-10-29 22:45:13 +0000
committerStef Walter <stef@memberwebs.com>2009-10-29 22:45:24 +0000
commit47c7b529cc46f0974f9ef954c90dd6495c14c6d6 (patch)
tree2f613e85352f54a74925afa854aa1edc13f9b539 /autogen.sh
parent70ccf1622c31ae7b925510735a16425592813cfe (diff)
Cleanup build process.
* Integrate better with git. * Git based ChangeLog * NEWS now does it's proper job.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh
index 81fbba3..80d6f99 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,6 +1,16 @@
-#!/bin/sh -ex
+#!/bin/sh
-set -ex
+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