Support of "make -s": do not output anything of the build itself
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
31d0399c3c
commit
b777434383
10
Makefile
10
Makefile
@ -604,6 +604,11 @@ endif
|
|||||||
ifdef NO_PERL_MAKEMAKER
|
ifdef NO_PERL_MAKEMAKER
|
||||||
export NO_PERL_MAKEMAKER
|
export NO_PERL_MAKEMAKER
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
QUIET_SUBDIR0 = $(MAKE) -C # space to separate -C and subdir
|
||||||
|
QUIET_SUBDIR1 =
|
||||||
|
|
||||||
|
ifneq ($(findstring $(MAKEFLAGS),s),s)
|
||||||
ifndef V
|
ifndef V
|
||||||
QUIET_CC = @echo ' ' CC $@;
|
QUIET_CC = @echo ' ' CC $@;
|
||||||
QUIET_AR = @echo ' ' AR $@;
|
QUIET_AR = @echo ' ' AR $@;
|
||||||
@ -615,9 +620,8 @@ ifndef V
|
|||||||
$(MAKE) --no-print-directory -C $$subdir
|
$(MAKE) --no-print-directory -C $$subdir
|
||||||
export V
|
export V
|
||||||
export QUIET_GEN
|
export QUIET_GEN
|
||||||
else
|
export QUIET_BUILT_IN
|
||||||
QUIET_SUBDIR0 = $(MAKE) -C
|
endif
|
||||||
QUIET_SUBDIR1 =
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Shell quote (do not use $(call) to accommodate ancient setups);
|
# Shell quote (do not use $(call) to accommodate ancient setups);
|
||||||
|
Loading…
Reference in New Issue
Block a user