From 2ef3e2033e784550bb26c79bc148b6563e03ca30 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 26 May 2023 15:21:01 +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 2e73808..1ac4aa9 100644 --- a/Makefile +++ b/Makefile @@ -37,8 +37,9 @@ dinstall: $(DEB) dpkg -i $(DEB) .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEB) - tar cf - $(DEB) $(DBG_DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch $(ARCH) + tar cf - $(DEB) $(DBG_DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST) --arch $(DEB_HOST_ARCH) .PHONY: distclean clean distclean: clean