]> git.proxmox.com Git - pve-common.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 May 2023 13:26:42 +0000 (15:26 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 May 2023 13:26:55 +0000 (15:26 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 1aa011b05eb1ce60cadd42ca065953b956e3960d..9353bdf763c6621a74c24ed6143f9e225d16ac92 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,5 +51,6 @@ install:
        ${MAKE} -C src install
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: ${DEB}
-       tar cf - ${DEB}|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist bullseye
+       tar cf - ${DEB}|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist $(UPLOAD_DIST)