From 719f78a9ba177ceed2760308552d473f2e11339f Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Fri, 1 Jun 2012 23:29:33 +0100 Subject: [PATCH] Ensure the resource file is rebuilt when the version changes. Acked-by: Erik Faye-Lund Acked-by: Johannes Schindelin Signed-off-by: Pat Thoyts --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1be4c14c24..a2dbb07919 100644 --- a/Makefile +++ b/Makefile @@ -2195,7 +2195,7 @@ $(SCRIPT_LIB) : % : %.sh GIT-SCRIPT-DEFINES $(QUIET_GEN)$(cmd_munge_script) && \ mv $@+ $@ -git.res: git.rc +git.res: git.rc GIT-VERSION-FILE $(QUIET_RC)$(RC) \ $(join -DMAJOR= -DMINOR= -DPATCH=, $(wordlist 1,3,$(subst -, ,$(subst ., ,$(GIT_VERSION))))) \ -DGIT_VERSION="\\\"$(GIT_VERSION)\\\"" $< -o $@ -- 2.11.4.GIT