buildsys: derive upload dist automatically

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-06-23 13:39:23 +02:00
parent 63c67a8705
commit 401b9e98f5

View File

@ -58,7 +58,7 @@ install: cargo-build
.PHONY: upload
upload: $(DEBS)
tar cf - $(DEBS) | ssh -X repoman@repo.proxmox.com -- upload --product "pve,pbs" --dist bullseye --arch $(DEB_HOST_ARCH)
tar cf - $(DEBS) | ssh -X repoman@repo.proxmox.com -- upload --product "pve,pbs" --dist $(DEB_DISTRIBUTION) --arch $(DEB_HOST_ARCH)
.PHONY: distclean
distclean: clean