]> git.proxmox.com Git - libpve-u2f-server-perl.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 May 2023 14:06:45 +0000 (16:06 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 23 May 2023 14:07:32 +0000 (16:07 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 91a3cafc67852ef7aca950a085468ff7ee761129..c98fdbb03941222535a7c9abc3628bb0e649aa89 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -82,5 +82,6 @@ distclean: clean
 
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch $(DEB_HOST_ARCH)
+       tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST) --arch $(DEB_HOST_ARCH)