aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-10-21 12:42:43 +0200
committerLoïc Hoguin <[email protected]>2013-10-21 12:42:43 +0200
commitae1086a37c59e1723e4e2536129313eb626281d5 (patch)
tree0b5cdbc9a2c55b115f2774a765fe7319d4c65f97
parenta72d679087f82ca0c548db3d8d526a517e852be8 (diff)
parent60372a76007ab06d5f35f6ace68c5b407b84532e (diff)
downloaderlang.mk-ae1086a37c59e1723e4e2536129313eb626281d5.tar.gz
erlang.mk-ae1086a37c59e1723e4e2536129313eb626281d5.tar.bz2
erlang.mk-ae1086a37c59e1723e4e2536129313eb626281d5.zip
Merge branch 'fix-modules-space' of git://github.com/RJ/erlang.mk
-rw-r--r--erlang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/erlang.mk b/erlang.mk
index 57da405..d5fa2aa 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -106,7 +106,7 @@ app: ebin/$(PROJECT).app
$(eval MODULES := $(shell find ebin -type f -name \*.beam \
| sed 's/ebin\///;s/\.beam/,/' | sed '$$s/.$$//'))
$(appsrc_verbose) cat src/$(PROJECT).app.src \
- | sed 's/{modules, \[\]}/{modules, \[$(MODULES)\]}/' \
+ | sed 's/{modules,\s*\[\]}/{modules, \[$(MODULES)\]}/' \
> ebin/$(PROJECT).app
define compile_erl