|
@@ -45,7 +45,7 @@ endif
|
|
|
app-build: erlc-include ebin/$(PROJECT).app
|
|
|
$(eval MODULES := $(shell find ebin -type f -name \*.beam \
|
|
|
| sed "s/ebin\//'/;s/\.beam/',/" | sed '$$s/.$$//'))
|
|
|
- @if [ -z "$$(grep -E '^[^%]*{modules,' src/$(PROJECT).app.src)" ]; then \
|
|
|
+ @if [ -z "$$(grep -E '^[^%]*{\s*modules\s*,' 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
|