Skip to content

Commit bbc284d

Browse files
committed
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>
1 parent 2be50ea commit bbc284d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1775,7 +1775,7 @@ $(SCRIPT_LIB) : % : %.sh GIT-SCRIPT-DEFINES
17751775
$(QUIET_GEN)$(cmd_munge_script) && \
17761776
mv $@+ $@
17771777

1778-
git.res: git.rc
1778+
git.res: git.rc GIT-VERSION-FILE
17791779
$(QUIET_RC)$(RC) \
17801780
$(join -DMAJOR= -DMINOR= -DPATCH=, $(wordlist 1,3,$(subst -, ,$(subst ., ,$(GIT_VERSION))))) \
17811781
-DGIT_VERSION="\\\"$(GIT_VERSION)\\\"" $< -o $@

0 commit comments

Comments
 (0)