]> git.proxmox.com Git - pve-guest-common.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 May 2023 11:23:20 +0000 (13:23 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 May 2023 11:24:50 +0000 (13:24 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 895e06c1688cb03b6c14870d639fa84d8b931a50..068dc6013845a32f65b019ec6b990225b1686fd2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,8 +29,9 @@ $(DSC): $(BUILDDIR)
        lintian $(DSC)
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye
+       tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)
 
 distclean: clean