Skip to content

Commit

Permalink
Make 'make' quiet by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shawn O. Pearce authored and Junio C Hamano committed Mar 6, 2007
1 parent 74f2b2a commit 2314c94
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# The default target of this Makefile is...
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.
# This also implies MOZILLA_SHA1.
Expand Down Expand Up @@ -604,15 +604,15 @@ endif
ifdef NO_PERL_MAKEMAKER
export NO_PERL_MAKEMAKER
endif
ifdef QUIET_MAKE
ifndef V
QUIET_CC = @echo ' ' CC $<;
QUIET_AR = @echo ' ' AR $@;
QUIET_LINK = @echo ' ' LINK $@;
QUIET_BUILT_IN = @echo ' ' BUILTIN $@;
QUIET_GEN = @echo ' ' GEN $@;
QUIET_SUBDIR0 = @subdir=
QUIET_SUBDIR1 = ;echo ' ' SUBDIR $$subdir; $(MAKE) -C$$subdir
export QUIET_MAKE
export V
else
QUIET_SUBDIR0 = $(MAKE) -C
QUIET_SUBDIR1 =
Expand Down
2 changes: 1 addition & 1 deletion perl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ makfile:=perl.mak
PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
prefix_SQ = $(subst ','\'',$(prefix))

ifdef QUIET_MAKE
ifndef V
QUIET = @
endif

Expand Down
2 changes: 1 addition & 1 deletion templates/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# make and install sample templates

ifdef QUIET_MAKE
ifndef V
QUIET = @
endif

Expand Down

0 comments on commit 2314c94

Please sign in to comment.