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
1 changed files with 1 additions and 1 deletions

View File

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