X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=bootstrap%2FMakefile;h=99b2d02dd6a340b23bd2ed12c469625e04d0e280;hb=b1dadc4dcbc571599e4d355f6a4bae5a07ba5892;hp=8f987c56d8cec2bf443cad3af282a1c68d9906fc;hpb=ed8bb438de0c16c0b88f71e7044d2e93472ef8ce;p=gpl%2Fargeo-tp.git diff --git a/bootstrap/Makefile b/bootstrap/Makefile index 8f987c5..99b2d02 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,6 +50,10 @@ 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) @@ -112,6 +117,9 @@ bootstrap-prepare-sources: bootstrap-download-sources 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)