]> git.proxmox.com Git - vncterm.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 29 May 2023 15:54:10 +0000 (17:54 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 29 May 2023 15:56:10 +0000 (17:56 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 1198206947cc5f5e9698ec58ed2e49775754b411..cb5af54b7005d7661aa53b7d94bb2ff4b369aca7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -86,8 +86,9 @@ sbuild: $(DSC)
        sbuild $<
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) $(DBG_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye
+       tar cf - $(DEB) $(DBG_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)
 
 .PHONY: clean
 clean: