aboutsummaryrefslogtreecommitdiffstats
path: root/core/erlc.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-09-03 13:27:17 +0200
committerLoïc Hoguin <[email protected]>2015-09-03 13:27:17 +0200
commitabcc53a0420ce170169addb143afe20b756db913 (patch)
tree13a6f4ab1b201602018354b04c55a4c329a47264 /core/erlc.mk
parent2cadadf27caf9e19b74aba320376445551963977 (diff)
downloaderlang.mk-abcc53a0420ce170169addb143afe20b756db913.tar.gz
erlang.mk-abcc53a0420ce170169addb143afe20b756db913.tar.bz2
erlang.mk-abcc53a0420ce170169addb143afe20b756db913.zip
Fix list of modules in the .app file
Diffstat (limited to 'core/erlc.mk')
-rw-r--r--core/erlc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/erlc.mk b/core/erlc.mk
index f8bedf2..c92a350 100644
--- a/core/erlc.mk
+++ b/core/erlc.mk
@@ -191,7 +191,7 @@ endef
ebin/$(PROJECT).app:: $(ERL_FILES) $(CORE_FILES)
$(if $(strip $?),$(call compile_erl,$?))
$(eval GITDESCRIBE := $(shell git describe --dirty --abbrev=7 --tags --always --first-parent 2>/dev/null || true))
- $(eval MODULES := $(patsubst %,'%',$(sort $(notdir $(basename $(shell find ebin -type f -name *.beam))))))
+ $(eval MODULES := $(patsubst %,'%',$(sort $(notdir $(basename $(ERL_FILES) $(CORE_FILES))))))
ifeq ($(wildcard src/$(PROJECT).app.src),)
$(app_verbose) echo $(subst $(newline),,$(subst ",\",$(call app_file,$(GITDESCRIBE),$(MODULES)))) \
> ebin/$(PROJECT).app