]> git.proxmox.com Git - ksm-control-daemon.git/blobdiff - Makefile
buildsys: derive upload dist automatically
[ksm-control-daemon.git] / Makefile
index c5bf3f4ec857e4ca269c53a91dcb2682d62cbafb..52a0fbf7c83d9b80b9a09394d87bc5867de61af3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -27,8 +27,9 @@ ksm-control-scripts.org/ksm.init: ksm-control-scripts.org.tar.gz
        touch $@
 
 .PHONY: upload
+upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
 upload: ${KSM_DEB}
-       tar cf - ${KSM_DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist bookworm
+       tar cf - ${KSM_DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist ${UPLOAD_DIST}
 
 .PHONY: distclean
 distclean: clean