]> git.proxmox.com Git - qemu-server.git/commitdiff
buildsys: derive upload dist automatically
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 19 May 2023 07:24:46 +0000 (09:24 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 May 2023 13:06:46 +0000 (15:06 +0200)
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 78528af8418c099fb5e6161b76fcf8518de53e61..4d32e511d75f2ab3dea1b2274088fa23163e0052 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -104,8 +104,9 @@ test:
        $(MAKE) -C test
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: ${DEB}
-       tar cf - ${DEBS} | ssh -X repoman@repo.proxmox.com upload --product pve --dist bullseye
+       tar cf - ${DEBS} | ssh -X repoman@repo.proxmox.com upload --product pve --dist $(UPLOAD_DIST)
 
 .PHONY: clean
 clean: