]> git.proxmox.com Git - pve-installer.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 9 Jun 2023 07:34:27 +0000 (09:34 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 9 Jun 2023 07:36:58 +0000 (09:36 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 6c95c71f26d1896ea2194c18b99472683b426951..94e62b072786fd6a022c1c7c96bf6689f00b2ee4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -39,8 +39,9 @@ install: ${INSTALLER_SOURCES}
        rsvg-convert -o $@ $<
 
 .PHONY: upload
-upload: ${DEB}
-       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bullseye
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
+upload: $(DEB)
+       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST)
 
 %.img:
        truncate -s 2G $@