buildsys: derive upload dist automatically

Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Fiona Ebner 2023-05-19 13:24:32 +02:00 committed by Thomas Lamprecht
parent 93d558c1ee
commit f6be0ca51a

View File

@ -1,5 +1,4 @@
include /usr/share/dpkg/pkg-info.mk include /usr/share/dpkg/default.mk
include /usr/share/dpkg/architecture.mk
PACKAGE = pve-qemu-kvm PACKAGE = pve-qemu-kvm
@ -48,8 +47,9 @@ update:
git add keycodemapdb git add keycodemapdb
.PHONY: upload .PHONY: upload
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
upload: $(DEBS) upload: $(DEBS)
tar cf - ${DEBS} | ssh repoman@repo.proxmox.com upload --product pve --dist bullseye tar cf - ${DEBS} | ssh repoman@repo.proxmox.com upload --product pve --dist $(UPLOAD_DIST)
.PHONY: distclean clean .PHONY: distclean clean
distclean: clean distclean: clean