@matheusbsbs / matheus-bagliano / commits / 900a5d075e
Fork 0

Quiet make: do not leave Windows behind

On Windows, we have to check whether there are scripts which would override .exe files, but this check missed the "quietification". Make now prints 'BUILTIN all' instead of a long chain of 'test || rm' commands. [spr: added clarification what make will print. ] Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Steffen Prohaska <prohaska@zib.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Schindelin committed May 31, 2009 at 18:15 UTC 900a5d075e8b48025439966dc3863189874bae3b
1 file changed +1 -1
Makefile
+1 -1
@@ -1204,7 +1204,7 @@ SHELL = $(SHELL_PATH)
1204
1205 all:: shell_compatibility_test $(ALL_PROGRAMS) $(BUILT_INS) $(OTHER_PROGRAMS) GIT-BUILD-OPTIONS
1206 ifneq (,$X)
1207 - $(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) git$X)), test '$p' -ef '$p$X' || $(RM) '$p';)
1207 + $(QUIET_BUILT_IN)$(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) git$X)), test '$p' -ef '$p$X' || $(RM) '$p';)
1208 endif
1209
1210 all::