aboutsummaryrefslogtreecommitdiffstats
path: root/make/otp_subdir.mk
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2014-03-10 17:44:25 +0100
committerRickard Green <[email protected]>2014-03-20 16:24:48 +0100
commite310677df7b3ce6506b35044abafcb507caa7e07 (patch)
tree010088a792b400cc87f44e02054f951a8071417f /make/otp_subdir.mk
parent0453d4ebd924f504e8d37ac5830ecc28ccc15046 (diff)
downloadotp-e310677df7b3ce6506b35044abafcb507caa7e07.tar.gz
otp-e310677df7b3ce6506b35044abafcb507caa7e07.tar.bz2
otp-e310677df7b3ce6506b35044abafcb507caa7e07.zip
Verify runtime_dependencies when running 'otp_build patch_app'
Diffstat (limited to 'make/otp_subdir.mk')
-rw-r--r--make/otp_subdir.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/make/otp_subdir.mk b/make/otp_subdir.mk
index f31ab05c87..e6a75cce17 100644
--- a/make/otp_subdir.mk
+++ b/make/otp_subdir.mk
@@ -44,5 +44,14 @@ opt debug release docs release_docs tests release_tests clean depend valgrind st
fi ; \
done ; \
if test -f vsn.mk; then \
+ if test release = $@ && test ! -f SKIP; then \
+ app=`basename $$app_pwd` ; \
+ app_vsn=`echo $$app | sed "y|abcdefghijklmnopqrstuvwxyz|ABCDEFGHIJKLMNOPQRSTUVWXYZ|"` ; \
+ app_vsn=$${app_vsn}_VSN ; \
+ ( $(MAKE) -f "$(ERL_TOP)/make/otp_released_app.mk" \
+ APP_PWD="$$app_pwd" APP_VSN=$$app_vsn APP=$$app \
+ TESTROOT="$(TESTROOT)" update) \
+ || exit $$? ; \
+ fi ; \
echo "=== Leaving application" `basename $$app_pwd` ; \
fi