]> git.proxmox.com Git - pve-zsync.git/commitdiff
buildsys: derive upload dist automatically
authorFiona Ebner <f.ebner@proxmox.com>
Wed, 24 May 2023 11:46:22 +0000 (13:46 +0200)
committerFiona Ebner <f.ebner@proxmox.com>
Wed, 24 May 2023 11:46:22 +0000 (13:46 +0200)
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
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)