Skip to content

Commit 2314c94

Browse files
spearceJunio C Hamano
authored andcommitted
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: Shawn O. Pearce <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 74f2b2a commit 2314c94

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# The default target of this Makefile is...
22
all::
33

4-
# Define QUIET_MAKE to have a less verbose compile.
4+
# Define V=1 to have a more verbose compile.
55
#
66
# Define NO_OPENSSL environment variable if you do not have OpenSSL.
77
# This also implies MOZILLA_SHA1.
@@ -604,15 +604,15 @@ endif
604604
ifdef NO_PERL_MAKEMAKER
605605
export NO_PERL_MAKEMAKER
606606
endif
607-
ifdef QUIET_MAKE
607+
ifndef V
608608
QUIET_CC = @echo ' ' CC $<;
609609
QUIET_AR = @echo ' ' AR $@;
610610
QUIET_LINK = @echo ' ' LINK $@;
611611
QUIET_BUILT_IN = @echo ' ' BUILTIN $@;
612612
QUIET_GEN = @echo ' ' GEN $@;
613613
QUIET_SUBDIR0 = @subdir=
614614
QUIET_SUBDIR1 = ;echo ' ' SUBDIR $$subdir; $(MAKE) -C$$subdir
615-
export QUIET_MAKE
615+
export V
616616
else
617617
QUIET_SUBDIR0 = $(MAKE) -C
618618
QUIET_SUBDIR1 =

perl/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ makfile:=perl.mak
66
PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
77
prefix_SQ = $(subst ','\'',$(prefix))
88

9-
ifdef QUIET_MAKE
9+
ifndef V
1010
QUIET = @
1111
endif
1212

templates/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# make and install sample templates
22

3-
ifdef QUIET_MAKE
3+
ifndef V
44
QUIET = @
55
endif
66

0 commit comments

Comments
 (0)