aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/Makefile
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2014-03-29 13:21:11 +0100
committerAnders Svensson <[email protected]>2014-03-31 16:43:10 +0200
commit1106d1e478f979cd201a66d3180a4511bfa56a93 (patch)
tree204c12a9ce87efc5555a84cce33083d9d90abb0d /lib/diameter/src/Makefile
parent9feffa030c4d1791f76e5b57658945c013df636d (diff)
downloadotp-1106d1e478f979cd201a66d3180a4511bfa56a93.tar.gz
otp-1106d1e478f979cd201a66d3180a4511bfa56a93.tar.bz2
otp-1106d1e478f979cd201a66d3180a4511bfa56a93.zip
Generate runtime_dependencies in app file
To avoid having to specify applications more than once.
Diffstat (limited to 'lib/diameter/src/Makefile')
-rw-r--r--lib/diameter/src/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/diameter/src/Makefile b/lib/diameter/src/Makefile
index 127406ae23..9afccf298c 100644
--- a/lib/diameter/src/Makefile
+++ b/lib/diameter/src/Makefile
@@ -148,7 +148,7 @@ gen/$(DICT_YRL).erl: compiler/$(DICT_YRL).yrl
$(ERLC) -Werror -o $(@D) $<
# Generate the app file.
-$(APP_TARGET): $(APP_SRC) ../vsn.mk modules.mk
+$(APP_TARGET): $(APP_SRC) ../vsn.mk modules.mk app.sed
$(gen_verbose) \
M=`echo $(notdir $(APP_MODULES)) | tr ' ' ,`; \
C=`echo $(COMPILER_MODULES) | tr ' ' ,`; \
@@ -159,7 +159,8 @@ $(APP_TARGET): $(APP_SRC) ../vsn.mk modules.mk
-e "s;%COMPILER%;$$C;" \
-e "s;%INFO%;$$I;" \
-e "s;%REGISTERED%;$$R;" \
- $< > $@
+ $< \
+ | sed -f app.sed > $@
$(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk
$(vsn_verbose) \