]> git.proxmox.com Git - pve-common.git/blobdiff - Makefile
buildsys: derive upload dist automatically
[pve-common.git] / Makefile
index 1aa011b05eb1ce60cadd42ca065953b956e3960d..9353bdf763c6621a74c24ed6143f9e225d16ac92 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,5 +51,6 @@ install:
        ${MAKE} -C src install
 
 .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)