From ff3e06d89e5b85d33c0206ea3c4c1420b6260387 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 8 Apr 2024 17:33:02 +0200 Subject: [PATCH] buildsys: derive upload dist automatically Signed-off-by: Thomas Lamprecht --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c5bf3f4..52a0fbf 100644 --- 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 -- 2.39.2