srctree

Robin Linden parent 70247572 7fd25274
Also build jvm-sbt-plugins from source

I'd somehow missed this when setting up the from-src build.

inlinesplit
scripts/build-host added: 17, removed: 3, total 14
@@ -14,7 +14,7 @@ export CXX := $(shell which clang++ || which g++)
export PKG_CONFIG_PATH := $(PREFIX)/lib/pkgconfig
export TOX4J_PLATFORM := $(shell perl -e 'print $$^O')-$(shell uname -m)
 
build: $(PREFIX)/tox4j.stamp $(foreach i,jvm-macros jvm-toxcore-api tox4j-c,$(DESTDIR)/$i.stamp)
build: $(PREFIX)/tox4j.stamp $(foreach i,jvm-macros jvm-sbt-plugins jvm-toxcore-api tox4j-c,$(DESTDIR)/$i.stamp)
 
test: build
$(MAKE) -C _build/$(TARGET)/tox4j test
 
scripts/dependencies.mk added: 17, removed: 3, total 14
@@ -1,6 +1,20 @@
PRE_RULE = (echo "=== Building $@ ==="; ls -ld $@; true) && ls -ld $+
POST_RULE = ls -ld $@
 
#############################################################################
# jvm-sbt-plugins
 
# HEAD as of 2021-05-05
$(SRCDIR)/jvm-sbt-plugins:
git clone https://github.com/toktok/jvm-sbt-plugins $@
cd $@ && git checkout b3c7a430e8f27dd8eb6230b2f5bfde5668825971
 
$(DESTDIR)/jvm-sbt-plugins.stamp: $(SRCDIR)/jvm-sbt-plugins
@$(PRE_RULE)
cd $< && sbt publishM2
mkdir -p $(@D) && touch $@
@$(POST_RULE)
 
#############################################################################
# jvm-macros