From c195552948afbc8074efa6b04ff7ee07d45d66c9 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 26 Jun 2023 18:14:27 +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 f32434b..f9b54be 100644 --- a/Makefile +++ b/Makefile @@ -58,8 +58,9 @@ dinstall: $(DEB) dpkg -i $(DEB) .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEB) $(DBG_DEB) - tar cf - $(DEB) $(DBG_DEB)| ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist bullseye --arch $(DEB_BUILD_ARCH) + tar cf - $(DEB) $(DBG_DEB)| ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist $(UPLOAD_DIST) --arch $(DEB_BUILD_ARCH) .PHONY: distclean distclean: clean