From abcc53a0420ce170169addb143afe20b756db913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 3 Sep 2015 13:27:17 +0200 Subject: Fix list of modules in the .app file --- core/erlc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/erlc.mk') 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 -- cgit v1.2.3