buildsys: derive upload dist automatically

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-08 14:59:20 +02:00
parent ba581d9832
commit 09c43554fa

View File

@ -57,8 +57,9 @@ dinstall: $(DEB)
dpkg -i $(DEB)
.PHONY: upload
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
upload: $(DEB)
tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product devel --dist bullseye --arch $(DEB_BUILD_ARCH)
tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product devel --dist $(UPLOAD_DIST) --arch $(DEB_BUILD_ARCH)
.PHONY: distclean
distclean: clean