|
@@ -204,7 +204,7 @@ xyrl_verbose = $(xyrl_verbose_$(V))
|
|
app:: ebin/$(PROJECT).app
|
|
app:: ebin/$(PROJECT).app
|
|
$(eval MODULES := $(shell find ebin -type f -name \*.beam \
|
|
$(eval MODULES := $(shell find ebin -type f -name \*.beam \
|
|
| sed "s/ebin\//'/;s/\.beam/',/" | sed '$$s/.$$//'))
|
|
| 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; \
|
|
echo "Empty modules entry not found in $(PROJECT).app.src. Please consult the erlang.mk README for instructions." >&2; \
|
|
exit 1; \
|
|
exit 1; \
|
|
fi
|
|
fi
|