X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=bootstrap%2FMakefile;h=9480df89a6645925524772db86680426e46d7bec;hb=e929ba9e06abf29f07019eb1d8e805ae1a56d936;hp=8f987c56d8cec2bf443cad3af282a1c68d9906fc;hpb=ed8bb438de0c16c0b88f71e7044d2e93472ef8ce;p=gpl%2Fargeo-tp.git diff --git a/bootstrap/Makefile b/bootstrap/Makefile index 8f987c5..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,10 +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 @@ -112,6 +121,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)