]> git.puffer.fish Git - matthieu/pve-network.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 May 2023 16:18:39 +0000 (18:18 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 25 May 2023 16:18:57 +0000 (18:18 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index d381be7eb937f1a370e1c7aef797b75857633ae7..2e506ad0556115d38b3841ba8d9b2826430654b2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -41,5 +41,6 @@ clean:
        rm -rf *~ *.deb *.changes $(PACKAGE)-[0-9]*/ $(PACKAGE)*.tar* *.build *.buildinfo *.dsc
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB)|ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye
+       tar cf - $(DEB)|ssh -X repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)