]> git.proxmox.com Git - spiceterm.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 26 May 2023 13:21:01 +0000 (15:21 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 26 May 2023 13:22:40 +0000 (15:22 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 2e73808390941d4b0ad33d1a77df4bfea2397947..1ac4aa989a25a9f087674238d3b1df526e23e275 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,8 +37,9 @@ dinstall: $(DEB)
        dpkg -i $(DEB)
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) $(DBG_DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch $(ARCH)
+       tar cf - $(DEB) $(DBG_DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST) --arch $(DEB_HOST_ARCH)
 
 .PHONY: distclean clean
 distclean: clean