From b01d4855fce580f65326bcc2d8ed0ce7ab91adbc Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Thu, 25 May 2023 18:18:39 +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 d381be7..2e506ad 100644 --- a/Makefile +++ b/Makefile @@ -41,5 +41,6 @@ clean: rm -rf *~ *.deb *.changes $(PACKAGE)-[0-9]*/ $(PACKAGE)*.tar* *.build *.buildinfo *.dsc .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEB) - tar cf - $(DEB)|ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye + tar cf - $(DEB)|ssh -X repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST) -- 2.39.5