aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/erlydtl.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-12-04 13:17:55 +0100
committerLoïc Hoguin <[email protected]>2015-12-04 13:17:55 +0100
commitf58af72831338efba4d5e20898cf92c0ed9f1c0f (patch)
tree4b313850c74fe8fc9b3e639992c1c56ba93d2f5f /plugins/erlydtl.mk
parent540d76f33690a65b4b7a783eaf27d602c5a01cec (diff)
downloaderlang.mk-f58af72831338efba4d5e20898cf92c0ed9f1c0f.tar.gz
erlang.mk-f58af72831338efba4d5e20898cf92c0ed9f1c0f.tar.bz2
erlang.mk-f58af72831338efba4d5e20898cf92c0ed9f1c0f.zip
Create the ebin/ directory before compiling ErlyDTL templates
Diffstat (limited to 'plugins/erlydtl.mk')
-rw-r--r--plugins/erlydtl.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/erlydtl.mk b/plugins/erlydtl.mk
index 072da50..506e793 100644
--- a/plugins/erlydtl.mk
+++ b/plugins/erlydtl.mk
@@ -47,6 +47,7 @@ $(DTL_FILES): $(MAKEFILE_LIST)
@touch $@
ebin/$(PROJECT).app:: $(DTL_FILES)
+ $(gen_verbose) mkdir -p ebin/
$(if $(strip $?),\
$(dtl_verbose) $(call erlang,$(call erlydtl_compile.erl,$?,-pa ebin/ $(DEPS_DIR)/erlydtl/ebin/)))
endif