diff options
author | Iñaki Garay <[email protected]> | 2014-08-15 13:19:05 -0300 |
---|---|---|
committer | Iñaki Garay <[email protected]> | 2014-08-15 13:48:50 -0300 |
commit | 813f6c71aa9fa68996a7be9a15924cb4721fe365 (patch) | |
tree | f41869f54bf87047225e2916d8292cba1dcbed3a /erlang.mk | |
parent | 7812f5eacc2d861d5b6040e832389bfe73cf8d8d (diff) | |
download | erlang.mk-813f6c71aa9fa68996a7be9a15924cb4721fe365.tar.gz erlang.mk-813f6c71aa9fa68996a7be9a15924cb4721fe365.tar.bz2 erlang.mk-813f6c71aa9fa68996a7be9a15924cb4721fe365.zip |
Allow explicitly listed modules
Diffstat (limited to 'erlang.mk')
-rw-r--r-- | erlang.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -204,7 +204,7 @@ xyrl_verbose = $(xyrl_verbose_$(V)) app:: ebin/$(PROJECT).app $(eval MODULES := $(shell find ebin -type f -name \*.beam \ | sed "s/ebin\//'/;s/\.beam/',/" | sed '$$s/.$$//')) - @if [ -z "$$(grep -E '^[^%]*{modules,[[:space:]]*\[\]}' src/$(PROJECT).app.src)" ]; then \ + @if [ -z "$$(grep -E '^[^%]*{modules,' src/$(PROJECT).app.src)" ]; then \ echo "Empty modules entry not found in $(PROJECT).app.src. Please consult the erlang.mk README for instructions." >&2; \ exit 1; \ fi |