-#
-# External dependency patching:
-#
-
-dependencies: lz4-rs
-
-# We want to dynamically link against the system's liblz4!
-# The lz4-sys crate provides some more helpers in addition to the 'extern "C"' block so we still
-# need to use its rust code directly in order for the `lz4` crate to be happy.
-lz4-rs:
- git clone https://github.com/bozaro/lz4-rs
- echo 'fn main() { println!("cargo:rustc-link-lib=lz4"); }' \
- >lz4-rs/lz4-sys/build.rs
+.PHONY: upload
+upload: ${SERVER_DEB} ${CLIENT_DEB} ${DOC_DEB}
+ # check if working directory is clean
+ git diff --exit-code --stat && git diff --exit-code --stat --staged
+ tar cf - ${SERVER_DEB} ${SERVER_DBG_DEB} ${DOC_DEB} | ssh -X repoman@repo.proxmox.com upload --product pbs --dist buster
+ tar cf - ${CLIENT_DEB} ${CLIENT_DBG_DEB} | ssh -X repoman@repo.proxmox.com upload --product "pbs,pve,pmg" --dist buster