buildsys: make deb: use --lib for first pass build

since it'll rebuild the lib & binaries anyway after the
copy, only build the library (to get the dependencies out of
the way), but dont build the binaries...

saves a couple seconds of build time

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-12-16 14:07:14 +01:00
parent a47a02ae62
commit dd8c03a277

View File

@ -57,7 +57,7 @@ doc:
.PHONY: build
build:
rm -rf build
cargo build --release
cargo build --release --lib
rsync -a debian Makefile defines.mk Cargo.toml Cargo.lock \
src zstd-sys $(SUBDIRS) \
target tests build/