]> git.proxmox.com Git - ksm-control-daemon.git/commitdiff
buildsys: derive upload dist automatically
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Apr 2024 15:33:02 +0000 (17:33 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Apr 2024 15:33:08 +0000 (17:33 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
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