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
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ doc:
build: build:
rm -rf build rm -rf build
rsync -a debian Makefile defines.mk Cargo.toml src $(SUBDIRS) 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), \ $(foreach i,$(SUBDIRS), \
$(MAKE) -C build/$(i) clean ;) $(MAKE) -C build/$(i) clean ;)