summaryrefslogtreecommitdiff
path: root/rules/maven/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'rules/maven/Makefile')
-rw-r--r--rules/maven/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/rules/maven/Makefile b/rules/maven/Makefile
index dedb607..2619ad8 100644
--- a/rules/maven/Makefile
+++ b/rules/maven/Makefile
@@ -2,3 +2,14 @@
# $@
bash -i
false
+
+export M2_HOME=$(DESTDIR)/opt/maven
+
+dep_dir = $1 $(shell $(FIND) $1 2>/dev/null)
+dep_optdir = $(shell $(FIND) $1 2>/dev/null)
+
+bootstrap/target/generated-sources: $(call dep_dir,$(wildcard */src/main/mdo))
+ ant -Dskip.pull generate-sources
+
+bootstrap/target/classes: $(call dep_dir,bootstrap/target/generated-sources $(wildcard */src/main/java))
+ ant -Dskip.pull compile-boot