aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/erlang.mk b/erlang.mk
index 8df7ee2..f419c4e 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -52,7 +52,7 @@ clean-all: clean clean-deps clean-docs
$(gen_verbose) rm -rf .$(PROJECT).plt $(DEPS_DIR) logs
app: ebin/$(PROJECT).app
- $(eval MODULES := $(shell ls ebin/*.beam \
+ $(eval MODULES := $(shell find ebin -name \*.beam \
| sed 's/ebin\///;s/\.beam/,/' | sed '$$s/.$$//'))
$(appsrc_verbose) cat src/$(PROJECT).app.src \
| sed 's/{modules, \[\]}/{modules, \[$(MODULES)\]}/' \