提交 2314c947 编写于 作者: S Shawn O. Pearce 提交者: Junio C Hamano

Make 'make' quiet by default

Per Junio's suggestion we are setting 'make' to be quiet by default,
with `make V=1` available to force GNU make back to its default
behavior of showing each command it is running.
Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 74f2b2a8
# The default target of this Makefile is... # The default target of this Makefile is...
all:: all::
# Define QUIET_MAKE to have a less verbose compile. # Define V=1 to have a more verbose compile.
# #
# Define NO_OPENSSL environment variable if you do not have OpenSSL. # Define NO_OPENSSL environment variable if you do not have OpenSSL.
# This also implies MOZILLA_SHA1. # This also implies MOZILLA_SHA1.
...@@ -604,7 +604,7 @@ endif ...@@ -604,7 +604,7 @@ endif
ifdef NO_PERL_MAKEMAKER ifdef NO_PERL_MAKEMAKER
export NO_PERL_MAKEMAKER export NO_PERL_MAKEMAKER
endif endif
ifdef QUIET_MAKE ifndef V
QUIET_CC = @echo ' ' CC $<; QUIET_CC = @echo ' ' CC $<;
QUIET_AR = @echo ' ' AR $@; QUIET_AR = @echo ' ' AR $@;
QUIET_LINK = @echo ' ' LINK $@; QUIET_LINK = @echo ' ' LINK $@;
...@@ -612,7 +612,7 @@ ifdef QUIET_MAKE ...@@ -612,7 +612,7 @@ ifdef QUIET_MAKE
QUIET_GEN = @echo ' ' GEN $@; QUIET_GEN = @echo ' ' GEN $@;
QUIET_SUBDIR0 = @subdir= QUIET_SUBDIR0 = @subdir=
QUIET_SUBDIR1 = ;echo ' ' SUBDIR $$subdir; $(MAKE) -C$$subdir QUIET_SUBDIR1 = ;echo ' ' SUBDIR $$subdir; $(MAKE) -C$$subdir
export QUIET_MAKE export V
else else
QUIET_SUBDIR0 = $(MAKE) -C QUIET_SUBDIR0 = $(MAKE) -C
QUIET_SUBDIR1 = QUIET_SUBDIR1 =
......
...@@ -6,7 +6,7 @@ makfile:=perl.mak ...@@ -6,7 +6,7 @@ makfile:=perl.mak
PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH)) PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
prefix_SQ = $(subst ','\'',$(prefix)) prefix_SQ = $(subst ','\'',$(prefix))
ifdef QUIET_MAKE ifndef V
QUIET = @ QUIET = @
endif endif
......
# make and install sample templates # make and install sample templates
ifdef QUIET_MAKE ifndef V
QUIET = @ QUIET = @
endif endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册