Просмотр исходного кода

Create the ebin/ directory before compiling ErlyDTL templates

Loïc Hoguin 9 лет назад
Родитель
Сommit
f58af72831
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      plugins/erlydtl.mk

+ 1 - 0
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