diff options
author | Loïc Hoguin <[email protected]> | 2018-12-04 12:20:37 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-12-04 12:20:37 +0100 |
commit | c63d7be6f71a97f02ba62f78fec55afe8754fd8a (patch) | |
tree | c5b2c01143184ca28cd9cd8c81d46c30d48ae9c0 /core | |
parent | 5a041bcf96a903202d6384d414f1c992ddf76e47 (diff) | |
download | erlang.mk-c63d7be6f71a97f02ba62f78fec55afe8754fd8a.tar.gz erlang.mk-c63d7be6f71a97f02ba62f78fec55afe8754fd8a.tar.bz2 erlang.mk-c63d7be6f71a97f02ba62f78fec55afe8754fd8a.zip |
Add a V=3 that works like V=2 across all shell commands
V=2 only works against target commands, V=3 will also work
against $(shell ...) commands.
Diffstat (limited to 'core')
-rw-r--r-- | core/core.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/core.mk b/core/core.mk index 27e8a87..85bf65f 100644 --- a/core/core.mk +++ b/core/core.mk @@ -47,6 +47,10 @@ verbose_0 = @ verbose_2 = set -x; verbose = $(verbose_$(V)) +ifeq ($(V),3) +SHELL := $(SHELL) -x +endif + gen_verbose_0 = @echo " GEN " $@; gen_verbose_2 = set -x; gen_verbose = $(gen_verbose_$(V)) |