2010-12-15 12:55:16 -05:00
|
|
|
#!/bin/sh -e
|
2009-04-21 17:56:33 -04:00
|
|
|
|
2010-12-15 12:55:16 -05:00
|
|
|
# Workaround for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565663
|
2012-02-03 11:48:20 -05:00
|
|
|
mkdir -p m4
|
|
|
|
|
2012-02-06 01:02:52 -05:00
|
|
|
HOOKS_DIR="../.git/hooks"
|
2012-02-03 11:48:20 -05:00
|
|
|
# install pre-commit hook for doing clean commits
|
2012-02-07 10:18:30 -05:00
|
|
|
if [ -d "$HOOKS_DIR" ];
|
2012-02-03 11:48:20 -05:00
|
|
|
then
|
2012-02-07 10:18:30 -05:00
|
|
|
if test ! \( -x ${HOOKS_DIR}/pre-commit -a -L ${HOOKS_DIR}/pre-commit \);
|
|
|
|
then
|
|
|
|
rm -f ${HOOKS_DIR}/pre-commit
|
|
|
|
ln -s ${HOOKS_DIR}/pre-commit.sample ${HOOKS_DIR}/pre-commit
|
|
|
|
fi
|
2012-02-03 11:48:20 -05:00
|
|
|
fi
|
2009-04-21 17:56:33 -04:00
|
|
|
|
2010-12-15 12:55:16 -05:00
|
|
|
autoreconf --force --install --verbose -Wall -I m4
|