]> git.proxmox.com Git - ifupdown2.git/blobdiff - Makefile
buildsys: derive upload dist automatically
[ifupdown2.git] / 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