From: P. F. Chimento Date: Wed, 17 Nov 2010 21:11:26 +0000 (+0100) Subject: Fewer unnecessary recompiles of git X-Git-Tag: v0.9~172 X-Git-Url: https://git.stderr.nl/gitweb?p=projects%2Fchimara%2Fchimara.git;a=commitdiff_plain;h=ab69784818406848518cf7d66392e3c527af2085 Fewer unnecessary recompiles of git Making the automatically-generated version.h depend on Makefile.am instead of Makefile prevents git from being fully recompiled every time configure is run. --- diff --git a/interpreters/git/Makefile.am b/interpreters/git/Makefile.am index a2825d4..c8641b0 100644 --- a/interpreters/git/Makefile.am +++ b/interpreters/git/Makefile.am @@ -2,7 +2,7 @@ MAJOR = 1 MINOR = 2 PATCH = 4 -version.h: Makefile +version.h: Makefile.am echo "// Automatically generated file -- do not edit!" > version.h echo "#define GIT_MAJOR" $(MAJOR) >> version.h echo "#define GIT_MINOR" $(MINOR) >> version.h