From 2371cac69f6c24873ec757e987e9b65a6a88c059 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sun, 7 May 2023 13:16:02 +0200 Subject: [PATCH] buildsys: automatically dervice upload dist Signed-off-by: Thomas Lamprecht --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8d3a6cb..5795440 100644 --- a/Makefile +++ b/Makefile @@ -46,6 +46,7 @@ clean: rm -rf $(SRC)-*/ $(BUILDDIR).tmp *.deb *.buildinfo *.changes *.dsc *.tar.?z .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEBS) - tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist bullseye - tar cf - $(DEB_ACME_PLUGS)|ssh -X repoman@repo.proxmox.com -- upload --product pbs --dist bullseye + tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg --dist $(UPLOAD_DIST) + tar cf - $(DEB_ACME_PLUGS)|ssh -X repoman@repo.proxmox.com -- upload --product pbs --dist $(UPLOAD_DIST)