Code

Quiet make: do not leave Windows behind
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 31 May 2009 16:15:16 +0000 (18:15 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Jun 2009 07:08:27 +0000 (00:08 -0700)
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>
Makefile

index f63eaeae4f6abe034aa6bcdcae970344d4aa7537..107015a598038864cbd176d71e5e09ed9d9fb26a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1204,7 +1204,7 @@ SHELL = $(SHELL_PATH)
 
 all:: shell_compatibility_test $(ALL_PROGRAMS) $(BUILT_INS) $(OTHER_PROGRAMS) GIT-BUILD-OPTIONS
 ifneq (,$X)
-       $(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) git$X)), test '$p' -ef '$p$X' || $(RM) '$p';)
+       $(QUIET_BUILT_IN)$(foreach p,$(patsubst %$X,%,$(filter %$X,$(ALL_PROGRAMS) $(BUILT_INS) git$X)), test '$p' -ef '$p$X' || $(RM) '$p';)
 endif
 
 all::