Makefile: do not replace @@GIT_VERSION@@ in shell scripts

No shell script actually uses the replacement (it is used in some perl scripts, but cmd_munge_script only handles shell scripts). We can also therefore drop the dependency on GIT-VERSION-FILE. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Jun 20, 2012 at 14:32 UTC 2b9391bc675f5435aee0ec9dc3a725c81591bf2d
1 file changed -3
Makefile
-3
@@ -2012,7 +2012,6 @@ $(RM) $@ $@+ && \
2012 sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
2013 -e 's|@SHELL_PATH@|$(SHELL_PATH_SQ)|' \
2014 -e 's|@@DIFF@@|$(DIFF_SQ)|' \
2015 - -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
2015 -e 's|@@LOCALEDIR@@|$(localedir_SQ)|g' \
2016 -e 's/@@NO_CURL@@/$(NO_CURL)/g' \
2017 -e 's/@@USE_GETTEXT_SCHEME@@/$(USE_GETTEXT_SCHEME)/g' \
@@ -2058,7 +2057,6 @@ gitweb:
2057 git-instaweb: git-instaweb.sh gitweb
2058 $(QUIET_GEN)$(RM) $@ $@+ && \
2059 sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \
2061 - -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' \
2060 -e 's/@@NO_CURL@@/$(NO_CURL)/g' \
2061 -e 's|@@GITWEBDIR@@|$(gitwebdir_SQ)|g' \
2062 -e 's|@@PERL@@|$(PERL_PATH_SQ)|g' \
@@ -2107,7 +2105,6 @@ configure: configure.ac
2105
2106 # These can record GIT_VERSION
2107 version.o git.spec \
2110 - $(patsubst %.sh,%,$(SCRIPT_SH)) \
2108 $(patsubst %.perl,%,$(SCRIPT_PERL)) \
2109 : GIT-VERSION-FILE
2110