From 92977ccdf558373c7667b7d6f48e6702a22cfc8b Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 30 May 2023 10:06:25 +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 e0d0682..52a06c0 100644 --- a/Makefile +++ b/Makefile @@ -56,8 +56,9 @@ dinstall: deb dpkg -i $(DEB) $(DEB_DBG) .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEB) - tar cf - $(DEB) $(DEB_DBG) | ssh -X repoman@repo.proxmox.com upload --product pve --dist bullseye + tar cf - $(DEB) $(DEB_DBG) | ssh -X repoman@repo.proxmox.com upload --product pve --dist $(UPLOAD_DIST) .PHONY: clean clean: