aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/src/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2013-09-30 12:44:17 +0200
committerBjörn Gustavsson <[email protected]>2013-09-30 12:50:49 +0200
commit2f27a8e9c6ab484effd5f7b235be13e98c206cd1 (patch)
treec41bef5b4563500a68c40d9453299090cbd452fa /lib/asn1/src/Makefile
parent0f430abcb189988a7faf55386557b2b74afa6f56 (diff)
downloadotp-2f27a8e9c6ab484effd5f7b235be13e98c206cd1.tar.gz
otp-2f27a8e9c6ab484effd5f7b235be13e98c206cd1.tar.bz2
otp-2f27a8e9c6ab484effd5f7b235be13e98c206cd1.zip
Cope with .erlang files that print to stdout
Don't redirect standard output when auto-generating the asn1ct_rtt.erl and asn1ct_eval*.erl source files, because anything printed form .erlang will end up in them, probably causing a compilation error.
Diffstat (limited to 'lib/asn1/src/Makefile')
-rw-r--r--lib/asn1/src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/asn1/src/Makefile b/lib/asn1/src/Makefile
index 3f24e15c04..500f4a1358 100644
--- a/lib/asn1/src/Makefile
+++ b/lib/asn1/src/Makefile
@@ -135,7 +135,7 @@ $(EBIN)/asn1ct_func.$(EMULATOR): asn1ct_func.erl
asn1ct_eval_%.erl: asn1ct_eval_%.funcs
$(gen_verbose)erl -pa $(EBIN) -noshell -noinput \
- -run prepare_templates gen_asn1ct_eval $< >$@
+ -run prepare_templates gen_asn1ct_eval $<
$(APP_TARGET): $(APP_SRC) ../vsn.mk
$(vsn_verbose)sed -e 's;%VSN%;$(VSN);' $< > $@
@@ -180,7 +180,7 @@ RT_TEMPLATES_TARGET = $(RT_TEMPLATES:%=%.$(EMULATOR))
asn1ct_rtt.erl: prepare_templates.$(EMULATOR) $(RT_TEMPLATES_TARGET)
$(gen_verbose)erl -noshell -noinput -run prepare_templates gen_asn1ct_rtt \
- $(RT_TEMPLATES_TARGET) >asn1ct_rtt.erl
+ $(RT_TEMPLATES_TARGET)
prepare_templates.$(EMULATOR): prepare_templates.erl
$(V_ERLC) prepare_templates.erl