From 5ede1cc3ff533be07ac0c1de80be3fba30804d36 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 20 May 2023 21:32:50 +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 8115a63..600e156 100644 --- a/Makefile +++ b/Makefile @@ -26,8 +26,9 @@ ${KERNEL_DEB}: debian lintian ${DEBS} .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: ${DEBS} - tar cf - ${DEBS}|ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bullseye + tar cf - ${DEBS}|ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST) .PHONY: clean distclean distclean: clean