From 22bb4607c9e92573e7ed2a3a00f666ea0607a11c Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 23 Feb 2020 18:47:00 +1000 Subject: [PATCH] ensure rspy rebuilt on buildhash change --- rspy/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rspy/Makefile b/rspy/Makefile index 9e5dee63f..0f6883262 100644 --- a/rspy/Makefile +++ b/rspy/Makefile @@ -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)