From 7ba5fb4aeff6d2561ed309ea8dd99a27bd89a59c Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 1 Feb 2019 10:18:50 +0100 Subject: [PATCH] buildsys: re-enable build caching for deb target Signed-off-by: Wolfgang Bumiller --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 86e507eb..64a4b846 100644 --- a/Makefile +++ b/Makefile @@ -49,10 +49,12 @@ test: cargo test $(CARGO_BUILD_ARGS) # always re-create this dir +# but also copy the local target/ dir as a build-cache .PHONY: build build: rm -rf build rsync -a debian Makefile defines.mk Cargo.toml src $(SUBDIRS) build/ + test -d target && rsync -a target build/ || true .PHONY: deb deb: $(DEB)