Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/make-findstring-makeflags-fix' into maint
author
Junio C Hamano
<gitster@pobox.com>
Fri, 16 Oct 2015 21:32:38 +0000
(14:32 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 16 Oct 2015 21:32:38 +0000
(14:32 -0700)
Customization to change the behaviour with "make -w" and "make -s"
in our Makefile was broken when they were used together.
* jk/make-findstring-makeflags-fix:
Makefile: fix MAKEFLAGS tests with multiple flags
Makefile
patch
|
blob
|
history
raw
(from parent 1:
4d2a301
)
diff --git
a/Makefile
b/Makefile
index 0f68c7075dc802597b1e2b79c04534994e488e5d..04c223102346c209bad78550723027543cffe7d1 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1468,13
+1468,13
@@
endif
QUIET_SUBDIR0 = +$(MAKE) -C # space to separate -C and subdir
QUIET_SUBDIR1 =
-ifneq ($(findstring
$(MAKEFLAGS),w
),w)
+ifneq ($(findstring
w,$(MAKEFLAGS)
),w)
PRINT_DIR = --no-print-directory
else # "make -w"
NO_SUBDIR = :
endif
-ifneq ($(findstring
$(MAKEFLAGS),s
),s)
+ifneq ($(findstring
s,$(MAKEFLAGS)
),s)
ifndef V
QUIET_CC = @echo ' ' CC $@;
QUIET_AR = @echo ' ' AR $@;