Ensure the resource file is rebuilt when the version changes.
Acked-by: Erik Faye-Lund <kusmabite@gmail.com> Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Pat Thoyts committed
Jun 1, 2012 at 23:29 UTC
bbc284d6ecaa1974c142e95272e866287694ca17
1 file changed
+1
-1
Makefile
+1
-1
@@ -1775,7 +1775,7 @@ $(SCRIPT_LIB) : % : %.sh GIT-SCRIPT-DEFINES
1775
$(QUIET_GEN)$(cmd_munge_script) && \
1776
mv $@+ $@
1777
1778
-git.res: git.rc
1778
+git.res: git.rc GIT-VERSION-FILE
1779
$(QUIET_RC)$(RC) \
1780
$(join -DMAJOR= -DMINOR= -DPATCH=, $(wordlist 1,3,$(subst -, ,$(subst ., ,$(GIT_VERSION))))) \
1781
-DGIT_VERSION="\\\"$(GIT_VERSION)\\\"" $< -o $@