aboutsummaryrefslogtreecommitdiffstats
path: root/core/erlc.mk
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <[email protected]>2015-10-26 16:10:55 +0100
committerJean-Sébastien Pédron <[email protected]>2015-11-17 14:15:53 +0100
commit5d33b1607f0139afb4b8773c1c9f320433c1182b (patch)
tree15522f8b139439f6f8ce0da9e9dbc1de1ddc3c8d /core/erlc.mk
parentbd6e00675e2b87cf031017b931a02353fc67b250 (diff)
downloaderlang.mk-5d33b1607f0139afb4b8773c1c9f320433c1182b.tar.gz
erlang.mk-5d33b1607f0139afb4b8773c1c9f320433c1182b.tar.bz2
erlang.mk-5d33b1607f0139afb4b8773c1c9f320433c1182b.zip
V=2 causes `set -x` to be set on forked shells
Diffstat (limited to 'core/erlc.mk')
-rw-r--r--core/erlc.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/erlc.mk b/core/erlc.mk
index 02524b4..c0aeb41 100644
--- a/core/erlc.mk
+++ b/core/erlc.mk
@@ -19,25 +19,32 @@ COMPILE_MIB_FIRST_PATHS = $(addprefix mibs/,$(addsuffix .mib,$(COMPILE_MIB_FIRST
# Verbosity.
app_verbose_0 = @echo " APP " $(PROJECT);
+app_verbose_2 = set -x;
app_verbose = $(app_verbose_$(V))
appsrc_verbose_0 = @echo " APP " $(PROJECT).app.src;
+appsrc_verbose_2 = set -x;
appsrc_verbose = $(appsrc_verbose_$(V))
makedep_verbose_0 = @echo " DEPEND" $(PROJECT).d;
+makedep_verbose_2 = set -x;
makedep_verbose = $(makedep_verbose_$(V))
erlc_verbose_0 = @echo " ERLC " $(filter-out $(patsubst %,%.erl,$(ERLC_EXCLUDE)),\
$(filter %.erl %.core,$(?F)));
+erlc_verbose_2 = set -x;
erlc_verbose = $(erlc_verbose_$(V))
xyrl_verbose_0 = @echo " XYRL " $(filter %.xrl %.yrl,$(?F));
+xyrl_verbose_2 = set -x;
xyrl_verbose = $(xyrl_verbose_$(V))
asn1_verbose_0 = @echo " ASN1 " $(filter %.asn1,$(?F));
+asn1_verbose_2 = set -x;
asn1_verbose = $(asn1_verbose_$(V))
mib_verbose_0 = @echo " MIB " $(filter %.bin %.mib,$(?F));
+mib_verbose_2 = set -x;
mib_verbose = $(mib_verbose_$(V))
ifneq ($(wildcard src/),)