From aef40c10e9c2620943c196a4d07ecce2795c1c95 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 31 Oct 2009 00:54:09 +0000 Subject: Build changes for better working with git. * Automatically generated ChangeLog. * Proper NEWS file * Enable whitespace hooks in git if available. --- autogen.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'autogen.sh') diff --git a/autogen.sh b/autogen.sh index 08037e2..e92da89 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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 "$@" -- cgit v1.2.3