From 87da74c7fdd7760e8928cd1e90a2aa15f2145fd9 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 27 Feb 2019 11:25:37 +0000 Subject: [PATCH] buildsys: copy Cargo.lock to build/ Signed-off-by: Wolfgang Bumiller --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1a5c1750..173b488b 100644 --- a/Makefile +++ b/Makefile @@ -58,7 +58,7 @@ doc: build: rm -rf build rsync -a debian Makefile defines.mk Cargo.toml src $(SUBDIRS) build/ - test -d target && rsync -a target build/ || true + if test -d target; then cp Cargo.lock build/ && rsync -a target build/; fi $(foreach i,$(SUBDIRS), \ $(MAKE) -C build/$(i) clean ;)