X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=bootstrap%2FMakefile;h=9480df89a6645925524772db86680426e46d7bec;hb=e929ba9e06abf29f07019eb1d8e805ae1a56d936;hp=cdae8df4ed93fb158cbf534949be29680ae313fa;hpb=afd7fd6484e95660ae5d285e11d6520b18a05a00;p=gpl%2Fargeo-tp.git diff --git a/bootstrap/Makefile b/bootstrap/Makefile index cdae8df..9480df8 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,18 @@ 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 + +deb-source: distclean clean-sources bootstrap-prepare-sources + debuild --no-sign -S + rm -f debian/files bootstrap-prepare-sources: bootstrap-download-sources ## ECJ @@ -107,7 +117,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)