]> git.proxmox.com Git - pve-http-server.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 May 2023 05:28:28 +0000 (07:28 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 May 2023 05:28:38 +0000 (07:28 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 8337f7539a5504c235b060ad0d6e2adbadd44955..072240f222af3c444053cba6bea54b92d29d39b9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -33,8 +33,9 @@ sbuild: $(DSC)
        sbuild $(DSC)
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: $(DEB)
-       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist bullseye
+       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist $(UPLOAD_DIST)
 
 .PHONY: clean distclean
 distclean: clean