diff -wrup git-2010-08-21/git-gui/Makefile git-2010-08-21a/git-gui/Makefile --- git-2010-08-21/git-gui/Makefile 2010-08-20 21:55:41.000000000 +0200 +++ git-2010-08-21a/git-gui/Makefile 2010-08-21 20:59:10.272785510 +0200 @@ -7,6 +7,7 @@ all:: # TCL_PATH must be vaild for this to work. # +.PHONY: FORCE GIT-VERSION-FILE: FORCE @$(SHELL_PATH) ./GIT-VERSION-GEN -include GIT-VERSION-FILE @@ -340,4 +341,3 @@ ifdef GITGUI_WINDOWS_WRAPPER endif .PHONY: all install uninstall dist-version clean -.PHONY: FORCE diff -wrup git-2010-08-21/gitweb/Makefile git-2010-08-21a/gitweb/Makefile --- git-2010-08-21/gitweb/Makefile 2010-08-20 21:55:41.000000000 +0200 +++ git-2010-08-21a/gitweb/Makefile 2010-08-21 21:09:47.499919056 +0200 @@ -52,12 +52,15 @@ SHELL_PATH ?= $(SHELL) PERL_PATH ?= /usr/bin/perl # Shell quote; -bindir_SQ = $(subst ','\'',$(bindir))#' -gitwebdir_SQ = $(subst ','\'',$(gitwebdir))#' -gitwebstaticdir_SQ = $(subst ','\'',$(gitwebdir)/static)#' -SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))#' -PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))#' -DESTDIR_SQ = $(subst ','\'',$(DESTDIR))#' +Q=' +# ' This comment is only to appease IDEs like Emacs. +# The comment is on a new line, else makepp would see it as a quoted hash. +bindir_SQ = $(subst $Q,'\'',$(bindir)) +gitwebdir_SQ = $(subst $Q,'\'',$(gitwebdir)) +gitwebstaticdir_SQ = $(subst $Q,'\'',$(gitwebdir)/static) +SHELL_PATH_SQ = $(subst $Q,'\'',$(SHELL_PATH)) +PERL_PATH_SQ = $(subst $Q,'\'',$(PERL_PATH)) +DESTDIR_SQ = $(subst $Q,'\'',$(DESTDIR)) # Quiet generation (unless V=1) QUIET_SUBDIR0 = +$(MAKE) -C # space to separate -C and subdir diff -wrup git-2010-08-21/Makefile git-2010-08-21a/Makefile --- git-2010-08-21/Makefile 2010-08-20 21:55:41.000000000 +0200 +++ git-2010-08-21a/Makefile 2010-08-21 21:02:07.676932693 +0200 @@ -236,6 +236,7 @@ all:: # # Define NATIVE_CRLF if your platform uses CRLF for line endings. +.PHONY: FORCE GIT-VERSION-FILE: FORCE @$(SHELL_PATH) ./GIT-VERSION-GEN -include GIT-VERSION-FILE @@ -2217,7 +2218,7 @@ endif .PHONY: all install clean strip .PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell -.PHONY: FORCE TAGS tags cscope +.PHONY: TAGS tags cscope ### Check documentation #