Created
March 17, 2009 14:52
-
-
Save MikeRalphson/80578 to your computer and use it in GitHub Desktop.
partial git.git Makefile fix, needs to regenerate GIT_BUILD_OPTIONS only when it changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Makefile b/Makefile | |
index 2b873fa..159b8be 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -1159,7 +1159,7 @@ common-cmds.h: ./generate-cmdlist.sh command-list.txt | |
common-cmds.h: $(wildcard Documentation/git-*.txt) | |
$(QUIET_GEN)./generate-cmdlist.sh > $@+ && mv $@+ $@ | |
-$(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh | |
+$(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh GIT-BUILD-OPTIONS | |
$(QUIET_GEN)$(RM) $@ $@+ && \ | |
sed -e '1s|#!.*/sh|#!$(SHELL_PATH_SQ)|' \ | |
-e 's|@SHELL_PATH@|$(SHELL_PATH_SQ)|' \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment