]> git.proxmox.com Git - pve-firmware.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 2 Jun 2023 11:47:09 +0000 (13:47 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 2 Jun 2023 11:47:09 +0000 (13:47 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index efe651373da219677c05b9b8a86aabf27e51b349..e000dfedaebdc7aae188c5021460a42d2ae40c22 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -70,8 +70,9 @@ submodule dvb-firmware.git/README linux-firmware.git/WHENCE:
        test -f "linux-firmware.git/WHENCE" || git submodule update --init
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEBS)
-       tar cf - $(DEBS) | ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bullseye
+       tar cf - $(DEBS) | ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST)
 
 .PHONY: clean
 clean: