Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Allow "make -w" generate its usual output
author
Alex Riesen
<raa.lkml@gmail.com>
Tue, 6 Mar 2007 23:05:34 +0000
(
00:05
+0100)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 7 Mar 2007 01:17:13 +0000
(17:17 -0800)
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Makefile
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
b777434
)
diff --git
a/Makefile
b/Makefile
index 983da608d6d56847d07959754c486cd3e6bb2f89..bab75655635b17db80de05e04417c8e95fe70eb0 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-608,6
+608,12
@@
endif
QUIET_SUBDIR0 = $(MAKE) -C # space to separate -C and subdir
QUIET_SUBDIR1 =
QUIET_SUBDIR0 = $(MAKE) -C # space to separate -C and subdir
QUIET_SUBDIR1 =
+ifneq ($(findstring $(MAKEFLAGS),w),w)
+PRINT_DIR = --no-print-directory
+else # "make -w"
+NO_SUBDIR = :
+endif
+
ifneq ($(findstring $(MAKEFLAGS),s),s)
ifndef V
QUIET_CC = @echo ' ' CC $@;
ifneq ($(findstring $(MAKEFLAGS),s),s)
ifndef V
QUIET_CC = @echo ' ' CC $@;
@@
-616,8
+622,8
@@
ifndef V
QUIET_BUILT_IN = @echo ' ' BUILTIN $@;
QUIET_GEN = @echo ' ' GEN $@;
QUIET_SUBDIR0 = @subdir=
QUIET_BUILT_IN = @echo ' ' BUILTIN $@;
QUIET_GEN = @echo ' ' GEN $@;
QUIET_SUBDIR0 = @subdir=
- QUIET_SUBDIR1 = ;echo ' ' SUBDIR $$subdir; \
- $(MAKE)
--no-print-directory
-C $$subdir
+ QUIET_SUBDIR1 = ;
$(NO_SUBDIR)
echo ' ' SUBDIR $$subdir; \
+ $(MAKE)
$(PRINT_DIR)
-C $$subdir
export V
export QUIET_GEN
export QUIET_BUILT_IN
export V
export QUIET_GEN
export QUIET_BUILT_IN