diff options
author | Loïc Hoguin <[email protected]> | 2015-09-03 13:27:17 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2015-09-03 13:27:17 +0200 |
commit | abcc53a0420ce170169addb143afe20b756db913 (patch) | |
tree | 13a6f4ab1b201602018354b04c55a4c329a47264 | |
parent | 2cadadf27caf9e19b74aba320376445551963977 (diff) | |
download | erlang.mk-abcc53a0420ce170169addb143afe20b756db913.tar.gz erlang.mk-abcc53a0420ce170169addb143afe20b756db913.tar.bz2 erlang.mk-abcc53a0420ce170169addb143afe20b756db913.zip |
Fix list of modules in the .app file
-rw-r--r-- | core/erlc.mk | 2 |
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 |