buildsys: deb: always build locally first
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
0ffbccce5e
commit
051387143b
4
Makefile
4
Makefile
@ -57,8 +57,8 @@ doc:
|
||||
.PHONY: build
|
||||
build:
|
||||
rm -rf build
|
||||
rsync -a debian Makefile defines.mk Cargo.toml src $(SUBDIRS) build/
|
||||
if test -d target; then cp Cargo.lock build/ && rsync -a target build/; fi
|
||||
cargo build --release
|
||||
rsync -a debian Makefile defines.mk Cargo.toml Cargo.lock src target $(SUBDIRS) build/
|
||||
$(foreach i,$(SUBDIRS), \
|
||||
$(MAKE) -C build/$(i) clean ;)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user