aboutsummaryrefslogtreecommitdiffstats
path: root/lib/jinterface/java_src/Makefile
diff options
context:
space:
mode:
authorGabor Liptak <[email protected]>2010-02-08 20:42:25 -0500
committerRaimo Niskanen <[email protected]>2010-06-28 13:40:35 +0200
commit165fbca9bd40e1dc1720f18b6303e250df7ab1de (patch)
treecc021f6d1b6d621d6b779f7b2c4515986e8838e6 /lib/jinterface/java_src/Makefile
parentc1e94fa9a6fe4ae717d35dfbd1b628dc2e06d26a (diff)
downloadotp-165fbca9bd40e1dc1720f18b6303e250df7ab1de.tar.gz
otp-165fbca9bd40e1dc1720f18b6303e250df7ab1de.tar.bz2
otp-165fbca9bd40e1dc1720f18b6303e250df7ab1de.zip
Generate pom.xml during jinterface build
Diffstat (limited to 'lib/jinterface/java_src/Makefile')
-rw-r--r--lib/jinterface/java_src/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/lib/jinterface/java_src/Makefile b/lib/jinterface/java_src/Makefile
index 37a57352ad..22c55328b8 100644
--- a/lib/jinterface/java_src/Makefile
+++ b/lib/jinterface/java_src/Makefile
@@ -35,7 +35,21 @@ VSN=$(JINTERFACE_VSN)
SPECIAL_TARGETS =
+TARGET_FILES= $(POM_TARGET)
+SPECIAL_TARGETS =
+
+POM_FILE= pom.xml
+
+POM_TARGET= ../$(POM_FILE)
+POM_SRC= $(POM_FILE).src
+
+# ----------------------------------------------------
+# Special Build Targets
+# ----------------------------------------------------
+
+$(POM_TARGET): $(POM_SRC) ../vsn.mk
+ sed -e 's;%VSN%;$(VSN);' $< > $@
# ----------------------------------------------------
# Default Subdir Targets
@@ -43,7 +57,7 @@ SPECIAL_TARGETS =
.PHONY: debug opt instr release docs release_docs tests release_tests clean depend
-debug opt instr release docs release_docs tests release_tests clean depend:
+debug opt instr release docs release_docs tests release_tests clean depend: $(TARGET_FILES)
set -e; set -x; \
case "$(MAKE)" in *clearmake*) tflag="-T";; *) tflag="";; esac; \
if test -f com/ericsson/otp/erlang/ignore_config_record.inf; then xflag=$$tflag; fi; \