From c6526cd9945d31d0fca2cb492697e4265c79741f Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 23 May 2023 16:06:45 +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 91a3caf..c98fdbb 100644 --- a/Makefile +++ b/Makefile @@ -82,5 +82,6 @@ distclean: clean .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEB) - tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch $(DEB_HOST_ARCH) + tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST) --arch $(DEB_HOST_ARCH)