aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/app/Makefile
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2011-09-28 10:06:53 +0200
committerAnders Svensson <[email protected]>2011-09-28 10:06:53 +0200
commit67d4a9ae422cae2221e48fdeedf0bba3edc4ea81 (patch)
tree7fb1fc9d3a0a21c0ad8d50612c0cd75b69ba24fb /lib/diameter/src/app/Makefile
parent0296dbb27b20c75edc6a2dd75369dc17dc98aa5a (diff)
downloadotp-67d4a9ae422cae2221e48fdeedf0bba3edc4ea81.tar.gz
otp-67d4a9ae422cae2221e48fdeedf0bba3edc4ea81.tar.bz2
otp-67d4a9ae422cae2221e48fdeedf0bba3edc4ea81.zip
Fix make dependency blunder
Missed the dependency of dictionary beams on diameter_exprecs when removing compiler modules from app file. The changed build order then caused the build to fail.
Diffstat (limited to 'lib/diameter/src/app/Makefile')
-rw-r--r--lib/diameter/src/app/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/diameter/src/app/Makefile b/lib/diameter/src/app/Makefile
index ab5754f74f..a75c70d71c 100644
--- a/lib/diameter/src/app/Makefile
+++ b/lib/diameter/src/app/Makefile
@@ -52,6 +52,9 @@ INCDIR = ../../include
include modules.mk
+SPEC_MODULES = \
+ $(SPEC_FILES:%.dia=%)
+
SPEC_ERL_FILES = \
$(SPEC_FILES:%.dia=%.erl)
@@ -64,7 +67,7 @@ MODULES = \
APP_MODULES = \
$(RUNTIME_MODULES) \
- $(SPEC_FILES:%.dia=%)
+ $(SPEC_MODULES)
TARGET_MODULES = \
$(APP_MODULES) \
@@ -186,7 +189,8 @@ release_docs_spec:
# Dependencies
# ----------------------------------------------------
-$(SPEC_FILES:%.dia=$(EBIN)/%.$(EMULATOR)): \
+$(SPEC_MODULES:%=$(EBIN)/%.$(EMULATOR)): \
+ $(EBIN)/diameter_exprecs.$(EMULATOR) \
$(DIAMETER_TOP)/include/diameter.hrl \
$(DIAMETER_TOP)/include/diameter_gen.hrl