ensure rspy rebuilt on buildhash change

This commit is contained in:
Damien Elmes 2020-02-23 18:47:00 +10:00
parent 18aa836e0c
commit 22bb4607c9

View file

@ -17,12 +17,12 @@ all: develop
develop: .build/develop
.build/develop: .build/tools .build/vernum $(wildcard $(FTLS)/*.ftl)
.build/develop: .build/tools .build/vernum ../meta/buildhash $(wildcard $(FTLS)/*.ftl)
touch ../proto/backend.proto
FTL_TEMPLATE_DIRS="$(FTLS)" maturin develop $(BUILDFLAGS)
touch $@
build: .build/tools .build/vernum $(wildcard $(FTLS)/*.ftl)
build: .build/tools .build/vernum ../meta/buildhash $(wildcard $(FTLS)/*.ftl)
rm -rf $(OUTDIR)/ankirspy*
touch ../proto/backend.proto
FTL_TEMPLATE_DIRS="$(FTLS)" maturin build -i $(shell which python3) -o $(OUTDIR) $(BUILDFLAGS)