X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=bootstrap%2FMakefile;h=0fabae31790a72039d2e38ef44a8c181d2922fad;hb=aa665b9263e7e8e9629ffa7e092573440ce5bafb;hp=cdae8df4ed93fb158cbf534949be29680ae313fa;hpb=afd7fd6484e95660ae5d285e11d6520b18a05a00;p=gpl%2Fargeo-tp.git diff --git a/bootstrap/Makefile b/bootstrap/Makefile index cdae8df..0fabae3 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,9 +50,22 @@ 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/org.eclipse.jdt.core.compiler.batch/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 @@ -107,7 +121,13 @@ bootstrap-prepare-sources: bootstrap-download-sources # clean up BNDLIB $(RM) -rf $(BNDLIB_SRC)/aQute/bnd/annotation/spi - $(RM) -rf $(BNDLIB_SRC)/aQute/bnd/junit + $(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 + + # make sure directory is clean + $(RM) -rf ./output bootstrap-download-sources: $(SOURCE_ARCHIVES)