@matheusbsbs / matheus-bagliano / commits / 2314c94770
Fork 0

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 <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>

Shawn O. Pearce committed Mar 6, 2007 at 02:09 UTC 2314c947706b9480ddd8c1420efa8da523d99c9f
3 files changed +5 -5
Makefile
+3 -3
@@ -1,7 +1,7 @@
1 # The default target of this Makefile is...
2 all::
3
4 -# Define QUIET_MAKE to have a less verbose compile.
4 +# Define V=1 to have a more verbose compile.
5 #
6 # Define NO_OPENSSL environment variable if you do not have OpenSSL.
7 # This also implies MOZILLA_SHA1.
@@ -604,7 +604,7 @@ endif
604 ifdef NO_PERL_MAKEMAKER
605 export NO_PERL_MAKEMAKER
606 endif
607 -ifdef QUIET_MAKE
607 +ifndef V
608 QUIET_CC = @echo ' ' CC $<;
609 QUIET_AR = @echo ' ' AR $@;
610 QUIET_LINK = @echo ' ' LINK $@;
@@ -612,7 +612,7 @@ ifdef QUIET_MAKE
612 QUIET_GEN = @echo ' ' GEN $@;
613 QUIET_SUBDIR0 = @subdir=
614 QUIET_SUBDIR1 = ;echo ' ' SUBDIR $$subdir; $(MAKE) -C$$subdir
615 - export QUIET_MAKE
615 + export V
616 else
617 QUIET_SUBDIR0 = $(MAKE) -C
618 QUIET_SUBDIR1 =
perl/Makefile
+1 -1
@@ -6,7 +6,7 @@ makfile:=perl.mak
6 PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
7 prefix_SQ = $(subst ','\'',$(prefix))
8
9 -ifdef QUIET_MAKE
9 +ifndef V
10 QUIET = @
11 endif
12
templates/Makefile
+1 -1
@@ -1,6 +1,6 @@
1 # make and install sample templates
2
3 -ifdef QUIET_MAKE
3 +ifndef V
4 QUIET = @
5 endif
6