]> git.proxmox.com Git - pve-firewall.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 May 2023 12:46:36 +0000 (14:46 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 May 2023 12:46:36 +0000 (14:46 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 5d19f3858f83560f845ca74c0c6f3e929b3b2c49..aa2a9b2c8820a4e5670c7792245cb65f9b27ca60 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -47,5 +47,6 @@ clean:
        rm -rf *.deb *.dsc *.changes *.build *.buildinfo $(PACKAGE)-[0-9]*/ $(PACKAGE)*.tar*
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEBS)
-       tar cf - $(DEBS) | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch $(DEB_HOST_ARCH)
+       tar cf - $(DEBS) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST) --arch $(DEB_HOST_ARCH)