5 if [ -f .git/hooks/pre-commit.sample ] && [ ! -f .git/hooks/pre-commit ]; then
6 # This part is allowed to fail
7 cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \
8 chmod +x .git/hooks/pre-commit && \
9 echo "Activated pre-commit hook." || :
12 # README and INSTALL are required by automake, but may be deleted by
13 # clean up rules. to get automake to work, simply touch these here,
14 # they will be regenerated from their corresponding *.in files by
18 # Make sure m4 directory exist
21 autoreconf --force --install --verbose || exit $?