aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/erlydtl.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-10-12 12:26:13 +0200
committerLoïc Hoguin <[email protected]>2015-10-12 12:26:13 +0200
commit53703b7eded4e275f50e0b7d90a39648c90bbab3 (patch)
treea77da5cdf21e690bcf1054b87a670fa0cffefffc /plugins/erlydtl.mk
parent862eeb912f4cfa1371ea29bfcba8beac289160e2 (diff)
downloaderlang.mk-53703b7eded4e275f50e0b7d90a39648c90bbab3.tar.gz
erlang.mk-53703b7eded4e275f50e0b7d90a39648c90bbab3.tar.bz2
erlang.mk-53703b7eded4e275f50e0b7d90a39648c90bbab3.zip
ErlyDTL files generate to beam directly
Diffstat (limited to 'plugins/erlydtl.mk')
-rw-r--r--plugins/erlydtl.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/erlydtl.mk b/plugins/erlydtl.mk
index 430ce5a..67dd5b9 100644
--- a/plugins/erlydtl.mk
+++ b/plugins/erlydtl.mk
@@ -35,8 +35,7 @@ endef
ifneq ($(wildcard src/),)
DTL_FILES = $(sort $(call core_find,$(DTL_PATH),*.dtl))
-DTL_ERL_FILES = $(addprefix src/,$(patsubst %.dtl,%_dtl.erl,$(notdir $(DTL_FILES))))
-ERL_FILES += $(DTL_ERL_FILES)
+BEAM_FILES += $(addprefix ebin/,$(patsubst %.dtl,%_dtl.beam,$(notdir $(DTL_FILES))))
ebin/$(PROJECT).app:: $(DTL_FILES)
$(if $(strip $?),\