X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=bootstrap%2FMakefile;h=9d73663a6b5ab38a773da93d68ac43f9facb54e0;hb=7c17b1060f174ecd7eb33c03ba7ce86c18d12aed;hp=8f987c56d8cec2bf443cad3af282a1c68d9906fc;hpb=ed8bb438de0c16c0b88f71e7044d2e93472ef8ce;p=gpl%2Fargeo-tp.git diff --git a/bootstrap/Makefile b/bootstrap/Makefile index 8f987c5..9d73663 100644 --- a/bootstrap/Makefile +++ b/bootstrap/Makefile @@ -9,6 +9,7 @@ OSGI_ANNOTATION_VERSION=7.0.0 SLF4J_VERSION=1.7.36 ORIGIN_BASE=$(HOME)/.cache/argeo/build/origin +SDK_BUILD_BASE ?= ./output BOOTSTRAP_BASE=$(SDK_BUILD_BASE)/bootstrap ECJ_BASE=./ecj @@ -49,10 +50,21 @@ clean: find $(BNDLIB_BASE) -name "*.class" -type f -exec rm -f {} \; make -C org.argeo.tp.build clean +distclean: + $(RM) -f sdk.mk + $(RM) -rf ./output + clean-sources: $(RM) -rf $(ECJ_BASE) $(RM) -rf $(BNDLIB_BASE) - rm -rf org.argeo.tp.build/biz.aQute.bndlib/src + $(RM) -rf org.argeo.tp.build/biz.aQute.bndlib/src + +deb-source: distclean clean-sources bootstrap-prepare-sources + debuild --no-sign -S + $(RM) -f debian/files + $(RM) -rf $(ECJ_BASE) + $(RM) -rf $(BNDLIB_BASE) + $(RM) -rf org.argeo.tp.build/biz.aQute.bndlib/src bootstrap-prepare-sources: bootstrap-download-sources ## ECJ @@ -110,8 +122,11 @@ bootstrap-prepare-sources: bootstrap-download-sources $(RM) -rf $(BNDLIB_SRC)/aQute/bnd/annotation/spi $(RM) -rf $(BNDLIB_SRC)/aQute/bnd/junit - mkdir -p org.argeo.tp.build/biz.aQute.bndlib/src - cp -r ../rebuild/org.argeo.tp/org.argeo.ext.slf4j/src/* org.argeo.tp.build/biz.aQute.bndlib/src + #mkdir -p org.argeo.tp.build/biz.aQute.bndlib/src + #cp -r ../rebuild/org.argeo.tp/org.argeo.ext.slf4j/src/* org.argeo.tp.build/biz.aQute.bndlib/src + + # make sure directory is clean + $(RM) -rf ./output bootstrap-download-sources: $(SOURCE_ARCHIVES)