diff options
author | Pat Thoyts <patthoyts@users.sourceforge.net> | 2012-06-01 23:29:33 +0100 |
---|---|---|
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | 2013-06-04 10:11:46 +0100 |
commit | bbc284d6ecaa1974c142e95272e866287694ca17 (patch) | |
tree | 63853811f91ba11ec493d9d81b848488552b6c4b | |
parent | Windows resource: handle dashes in the Git version gracefully (diff) | |
download | tgif-bbc284d6ecaa1974c142e95272e866287694ca17.tar.xz |
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>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1775,7 +1775,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 $@ |