diff options
author | Anders Svensson <[email protected]> | 2013-01-23 16:58:05 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2013-01-23 16:58:05 +0100 |
commit | 4c97cddddbe7c193953dbb58c342069330e3324c (patch) | |
tree | 8656c3a095c3ef41af1667e3ff16ed527558cf0b | |
parent | f5170af4a992d6de5cd84da9cc4db4b4e073de32 (diff) | |
parent | f54ab6e3eb61f828977ea09b6aba859f84f73f40 (diff) | |
download | otp-4c97cddddbe7c193953dbb58c342069330e3324c.tar.gz otp-4c97cddddbe7c193953dbb58c342069330e3324c.tar.bz2 otp-4c97cddddbe7c193953dbb58c342069330e3324c.zip |
Merge branch 'anders/diameter/registered/OTP-10442'
* anders/diameter/registered/OTP-10442:
Add registered server names to app file
-rw-r--r-- | lib/diameter/src/Makefile | 2 | ||||
-rw-r--r-- | lib/diameter/src/base/diameter.app.src | 2 | ||||
-rw-r--r-- | lib/diameter/src/modules.mk | 9 |
3 files changed, 12 insertions, 1 deletions
diff --git a/lib/diameter/src/Makefile b/lib/diameter/src/Makefile index 60bb7e6a10..3cbcbf536e 100644 --- a/lib/diameter/src/Makefile +++ b/lib/diameter/src/Makefile @@ -133,8 +133,10 @@ gen/$(DICT_YRL).erl: compiler/$(DICT_YRL).yrl # Generate the app file. $(APP_TARGET): $(APP_SRC) ../vsn.mk modules.mk $(gen_verbose)M=`echo $(notdir $(APP_MODULES)) | tr ' ' ,`; \ + R=`echo $(REGISTERED) | tr ' ' ,`; \ sed -e 's;%VSN%;$(VSN);' \ -e "s;%MODULES%;$$M;" \ + -e "s;%REGISTERED%;$$R;" \ $< > $@ $(APPUP_TARGET): $(APPUP_SRC) ../vsn.mk diff --git a/lib/diameter/src/base/diameter.app.src b/lib/diameter/src/base/diameter.app.src index c092fdb022..7e17cd6c9f 100644 --- a/lib/diameter/src/base/diameter.app.src +++ b/lib/diameter/src/base/diameter.app.src @@ -21,7 +21,7 @@ [{description, "Diameter protocol"}, {vsn, "%VSN%"}, {modules, [%MODULES%]}, - {registered, []}, + {registered, [%REGISTERED%]}, {applications, [stdlib, kernel]}, {env, []}, {mod, {diameter_app, []}} diff --git a/lib/diameter/src/modules.mk b/lib/diameter/src/modules.mk index 01f9284881..25207625be 100644 --- a/lib/diameter/src/modules.mk +++ b/lib/diameter/src/modules.mk @@ -103,3 +103,12 @@ EXAMPLES = \ dict/rfc4072_eap.dia \ dict/rfc4590_digest.dia \ dict/rfc4740_sip.dia + +# Registered server names. + +REGISTERED = \ + diameter_config \ + diameter_peer \ + diameter_reg \ + diameter_stats \ + diameter_sync |