buildsys: copy Cargo.lock to build/
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
8731e40a7f
commit
87da74c7fd
2
Makefile
2
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 ;)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user