Making the automatically-generated version.h depend on Makefile.am
instead of Makefile prevents git from being fully recompiled every time
configure is run.
MAJOR = 1
MINOR = 2
PATCH = 4
MAJOR = 1
MINOR = 2
PATCH = 4
echo "// Automatically generated file -- do not edit!" > version.h
echo "#define GIT_MAJOR" $(MAJOR) >> version.h
echo "#define GIT_MINOR" $(MINOR) >> version.h
echo "// Automatically generated file -- do not edit!" > version.h
echo "#define GIT_MAJOR" $(MAJOR) >> version.h
echo "#define GIT_MINOR" $(MINOR) >> version.h