From: Thomas Lamprecht Date: Mon, 22 May 2023 12:46:36 +0000 (+0200) Subject: buildsys: derive upload dist automatically X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=commitdiff_plain;h=a6d4c650d795198dce540cd0de9587fdee764bac buildsys: derive upload dist automatically Signed-off-by: Thomas Lamprecht --- diff --git a/Makefile b/Makefile index 5d19f38..aa2a9b2 100644 --- a/Makefile +++ b/Makefile @@ -47,5 +47,6 @@ clean: rm -rf *.deb *.dsc *.changes *.build *.buildinfo $(PACKAGE)-[0-9]*/ $(PACKAGE)*.tar* .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEBS) - tar cf - $(DEBS) | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye --arch $(DEB_HOST_ARCH) + tar cf - $(DEBS) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST) --arch $(DEB_HOST_ARCH)