]> git.proxmox.com Git - pve-zsync.git/blobdiff - Makefile
buildsys: derive upload dist automatically
[pve-zsync.git] / Makefile
index 378d8bfe7ca6ab30268f38a16fcea4489f0eb252..f797743da24f1b224378e43cfe2b2d047c1c1f0a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -61,5 +61,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
+       tar cf - $(DEB) | ssh repoman@repo.proxmox.com upload --product pve --dist $(UPLOAD_DIST)