diff options
author | Rickard Green <[email protected]> | 2014-12-08 12:16:33 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2014-12-08 12:16:33 +0100 |
commit | ccbbf5ae09286e71761b42a4b203384002997b84 (patch) | |
tree | fb7e46ac976b113c74b2abc3d616735eb7bff531 /lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile | |
parent | 2f53998eebd3f14930ae792c89e64e57d4ad8a82 (diff) | |
parent | ed4f65e9e52bc0792b4a4e6a45acb99cf0e695b2 (diff) | |
download | otp-ccbbf5ae09286e71761b42a4b203384002997b84.tar.gz otp-ccbbf5ae09286e71761b42a4b203384002997b84.tar.bz2 otp-ccbbf5ae09286e71761b42a4b203384002997b84.zip |
Merge branch 'rickard/appup-files/OTP-12358' into maint
* rickard/appup-files/OTP-12358:
Add .appup file
Diffstat (limited to 'lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile')
-rw-r--r-- | lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile b/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile index fd923f85ae..ea3ab770ce 100644 --- a/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile +++ b/lib/jinterface/java_src/com/ericsson/otp/erlang/Makefile @@ -37,10 +37,13 @@ VSN=$(JINTERFACE_VSN) EBINDIR=$(ERL_TOP)/lib/jinterface/ebin APP_FILE= jinterface.app - APP_SRC= $(APP_FILE).src APP_TARGET= $(EBINDIR)/$(APP_FILE) +APPUP_FILE= jinterface.appup +APPUP_SRC= $(APPUP_FILE).src +APPUP_TARGET= $(EBINDIR)/$(APPUP_FILE) + # ---------------------------------------------------- # Release directory specification # ---------------------------------------------------- @@ -54,7 +57,7 @@ RELSYSDIR = $(RELEASE_PATH)/lib/jinterface-$(VSN) # all java sourcefiles listed in common include file include $(ERL_TOP)/lib/jinterface/java_src/$(JAVA_CLASS_SUBDIR)/java_files -TARGET_FILES= $(JAVA_FILES:%=$(JAVA_DEST_ROOT)$(JAVA_CLASS_SUBDIR)%.class) $(APP_TARGET) +TARGET_FILES= $(JAVA_FILES:%=$(JAVA_DEST_ROOT)$(JAVA_CLASS_SUBDIR)%.class) $(APP_TARGET) $(APPUP_TARGET) JAVA_SRC= $(JAVA_FILES:%=%.java) JARFILE= OtpErlang.jar @@ -90,6 +93,8 @@ endif $(APP_TARGET): $(APP_SRC) $(ERL_TOP)/lib/jinterface/vsn.mk $(vsn_verbose)sed -e 's;%VSN%;$(JINTERFACE_VSN);' $< > $@ +$(APPUP_TARGET): $(APPUP_SRC) $(ERL_TOP)/lib/jinterface/vsn.mk + $(vsn_verbose)sed -e 's;%VSN%;$(JINTERFACE_VSN);' $< > $@ debug opt: make_dirs $(JAVA_DEST_ROOT)$(JARFILE) @@ -120,6 +125,7 @@ release_spec: opt $(V_at)$(INSTALL_DATA) $(JAVA_DEST_ROOT)$(JARFILE) "$(RELSYSDIR)/priv" $(V_at)$(INSTALL_DIR) "$(RELSYSDIR)/ebin" $(V_at)$(INSTALL_DATA) $(APP_TARGET) "$(RELSYSDIR)/ebin/$(APP_FILE)" + $(V_at)$(INSTALL_DATA) $(APPUP_TARGET) "$(RELSYSDIR)/ebin/$(APPUP_FILE)" release_docs_spec: |