]> git.proxmox.com Git - ifupdown2.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 20 May 2023 13:52:40 +0000 (15:52 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 20 May 2023 13:52:40 +0000 (15:52 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 18ac5364593106d54243a5d0676fdd652f01d81d..4b6aba6ae3a933735d74161f76ff6797153a8abe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -42,8 +42,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,pbs --dist bullseye
+       tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST)
 
 .PHONY: distclean clean
 distclean: clean