summaryrefslogtreecommitdiff
path: root/template/Makefile.in
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-29 16:51:50 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-29 17:45:19 +0900
commit2f42243bceb60043ca06448a2b419724be0e6d0a (patch)
tree21348dda888d82d58ff88305201445f17c0fd72e /template/Makefile.in
parentd57c5a7b61c256f3216e82fe1ca6b5b6b9e50752 (diff)
downloadruby-2f42243bceb60043ca06448a2b419724be0e6d0a.tar.gz
Make more silent when -s on GNU make
Diffstat (limited to 'template/Makefile.in')
-rw-r--r--template/Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/template/Makefile.in b/template/Makefile.in
index 1f911524fe..b787615890 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -2,6 +2,9 @@
SHELL = /bin/sh
NULLCMD = @NULLCMD@
+silence = no # yes/no
+yes_silence = $(silence:no=)
+no_silence = $(silence:yes=)
n=$(NULLCMD)
ECHO1 = $(V:1=$n)
RUNCMD = $(SHELL)
@@ -356,8 +359,8 @@ uncommon.mk: $(srcdir)/common.mk
sed 's/{\$$([^(){}]*)[^{}]*}//g' $< > $@
.PHONY: reconfig
-reconfig-args = $(srcdir)/$(CONFIGURE) $(configure_args)
-config.status-args = ./config.status --recheck
+reconfig-args = $(srcdir)/$(CONFIGURE) $(yes_silence:yes=-s) $(configure_args)
+config.status-args = ./config.status $(yes_silence:yes=-s) --recheck
reconfig-exec-0 = test -t 1 && { : $${CONFIGURE_TTY=yes}; export CONFIGURE_TTY; }; exec 3>&1; exit `exec 4>&1; { "$$@" 3>&- 4>&-; echo $$? 1>&4; } | fgrep -v '(cached)' 1>&3 3>&- 4>&-`
reconfig-exec-1 = set -x; "$$@"