Commit 39d0f9ee authored by Simon Morlat's avatar Simon Morlat

same.

parent 256f1619
......@@ -59,5 +59,7 @@ $AUTOMAKE --force-missing --add-missing --copy ${AUTOMAKE_FLAGS}
autoconf
if !test -e ".git/hooks/pre-commit" ; then
echo "Installing pre-commit hook in git tree."
cp build/git-pre-commit-hook .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit
fi
GITVERSION_FILE=gitversion.h
echo "#define GIT_VERSION" > $GITVERSION_FILE
git describe >> $GITVERSION_FILE
echo "\n" >>$GITVERSION_FILE
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment