From 8a0c6cd03ec250d2f95c97aafe58d0f4a18e1bdf Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 19 May 2023 16:23:18 +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 c4c57f8..33e70c7 100644 --- a/Makefile +++ b/Makefile @@ -36,8 +36,9 @@ sbuild: $(DSC) sbuild $(DSC) .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEB) - tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com upload --product pmg,pve --dist bullseye + tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com upload --product pmg,pve --dist $(UPLOAD_DIST) distclean: clean clean: -- 2.39.2