autogen.sh: enable git pre-commit

This commit is contained in:
Kay Sievers
2012-01-05 19:22:03 +01:00
parent 1495719024
commit 9fbe27d9d6
+6
View File
@@ -2,6 +2,12 @@
set -e
if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \
chmod +x .git/hooks/pre-commit && \
echo "Activated pre-commit hook."
fi
gtkdocize
autoreconf --install --symlink