buildsys: re-enable build caching for deb target
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
18fad34433
commit
7ba5fb4aef
2
Makefile
2
Makefile
@ -49,10 +49,12 @@ test:
|
||||
cargo test $(CARGO_BUILD_ARGS)
|
||||
|
||||
# always re-create this dir
|
||||
# but also copy the local target/ dir as a build-cache
|
||||
.PHONY: build
|
||||
build:
|
||||
rm -rf build
|
||||
rsync -a debian Makefile defines.mk Cargo.toml src $(SUBDIRS) build/
|
||||
test -d target && rsync -a target build/ || true
|
||||
|
||||
.PHONY: deb
|
||||
deb: $(DEB)
|
||||
|
Loading…
Reference in New Issue
Block a user