]> git.proxmox.com Git - pve-access-control.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 21 May 2023 09:19:16 +0000 (11:19 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sun, 21 May 2023 10:37:11 +0000 (12:37 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index f9ab74066ba6bb83a4b199e92b6abf12243b67ab..dc2e23d252d24e7c819111a5fcf19c0577af31f5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,8 +34,9 @@ $(DSC): $(BUILDDIR)
        lintian $(DSC)
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye
+       tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST)
 
 .PHONY: clean
 clean: