buildsys: copy Cargo.lock to build/

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-02-27 11:25:37 +00:00
parent 8731e40a7f
commit 87da74c7fd

View File

@ -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 ;)