aboutsummaryrefslogtreecommitdiffstats
path: root/test/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-11-20 18:34:49 +0100
committerLoïc Hoguin <[email protected]>2015-11-20 18:36:55 +0100
commit442fd20e0e88814e49ed4076904f52da84b47220 (patch)
tree6edf8459d47ace385d27a321d2d85edb0e146a57 /test/Makefile
parentbeec62e994fbf0003dd637a3b093ef65a9bbc8ff (diff)
parent5d33b1607f0139afb4b8773c1c9f320433c1182b (diff)
downloaderlang.mk-442fd20e0e88814e49ed4076904f52da84b47220.tar.gz
erlang.mk-442fd20e0e88814e49ed4076904f52da84b47220.tar.bz2
erlang.mk-442fd20e0e88814e49ed4076904f52da84b47220.zip
Merge branch 'set-x-on-verbose-2' of https://github.com/rabbitmq/erlang.mk
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 4779c9f..870f4dc 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -61,6 +61,7 @@ OTP_MASTER = https://raw.githubusercontent.com/erlang/otp/master
# V=1: Show test commands.
# V=2: Also show normal Erlang.mk output.
# V=3: Also show verbose Erlang.mk output.
+# V=4: Also show a trace of each command after expansion.
V ?= 0
@@ -82,7 +83,7 @@ else ifeq ($V,2)
i = @echo == $@:
else
t =
- v = V=1
+ v = V=$(shell echo $$(($(V)-2)))
i = @echo == $@:
endif