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
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
rm -rf build
|
rm -rf build
|
||||||
rsync -a debian Makefile defines.mk Cargo.toml src $(SUBDIRS) build/
|
cargo build --release
|
||||||
if test -d target; then cp Cargo.lock build/ && rsync -a target build/; fi
|
rsync -a debian Makefile defines.mk Cargo.toml Cargo.lock src target $(SUBDIRS) build/
|
||||||
$(foreach i,$(SUBDIRS), \
|
$(foreach i,$(SUBDIRS), \
|
||||||
$(MAKE) -C build/$(i) clean ;)
|
$(MAKE) -C build/$(i) clean ;)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue