OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2be50ea
)
Ensure the resource file is rebuilt when the version changes.
author
Pat Thoyts
<patthoyts@users.sourceforge.net>
Fri, 1 Jun 2012 22:29:33 +0000
(23:29 +0100)
committer
Pat Thoyts
<patthoyts@users.sourceforge.net>
Tue, 4 Jun 2013 09:11:46 +0000
(10:11 +0100)
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>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
2f7a4f3
..
a163a75
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-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 $@