]> git.argeo.org Git - gpl/argeo-tp.git/blob - rebuild/org.argeo.tp.utils/Makefile
Move jgit to TP SDK
[gpl/argeo-tp.git] / rebuild / org.argeo.tp.utils / Makefile
1 include ../../sdk.mk
2 .PHONY: clean all osgi
3
4 all: retrieve-ee4j-mbox osgi
5
6 retrieve-ee4j-mbox: SRC_DIR=src/ee4j-mail
7 retrieve-ee4j-mbox:
8 rm -rf $(SRC_DIR)
9 mkdir -p $(SRC_DIR)
10 #git -C $(SRC_DIR) init
11 #git -C $(SRC_DIR) remote add -f origin https://github.com/eclipse-ee4j/mail.git
12 #git -C $(SRC_DIR) config core.sparseCheckout true
13 #echo "mbox" >> $(SRC_DIR)/.git/info/sparse-checkout
14 #git -C $(SRC_DIR) pull origin 1.6.7
15 git clone --branch 1.6.7 https://github.com/eclipse-ee4j/mail.git $(SRC_DIR)
16 rm -rf $(SRC_DIR)/.git
17 rsync -a --delete --exclude module-info.java $(SRC_DIR)/mbox/src/main/java/ com.sun.mail.mbox/src
18
19 A2_CATEGORY = org.argeo.tp.utils
20
21 BUNDLES = \
22 com.sun.mail.mbox \
23
24 clean:
25 rm -rf $(BUILD_BASE)
26
27 DEP_CATEGORIES = org.argeo.tp.utils
28
29 include $(SDK_SRC_BASE)/sdk/argeo-build/osgi.mk