diff options
author | Stef Walter <stef@memberwebs.com> | 2009-10-31 00:54:09 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2009-10-31 00:55:53 +0000 |
commit | aef40c10e9c2620943c196a4d07ecce2795c1c95 (patch) | |
tree | 406fbeb7064b11c0823c434a66ef44db792dea4b /autogen.sh | |
parent | 119813d32b29eb2dc3a2ddcb344f6f39b5455548 (diff) |
Build changes for better working with git.
* Automatically generated ChangeLog.
* Proper NEWS file
* Enable whitespace hooks in git if available.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,10 +1,20 @@ -#!/bin/sh -e +#!/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 --enable-maintainer-mode "$@" +./configure "$@" |