From 82588cce7c8372454dfd9261301cf3c6d103b402 Mon Sep 17 00:00:00 2001 From: Stoiko Ivanov Date: Tue, 30 May 2023 15:20:12 +0200 Subject: [PATCH] buildsys: derive upload dist automatically Signed-off-by: Stoiko Ivanov Signed-off-by: Thomas Lamprecht --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 40b614b..ee057db 100644 --- a/Makefile +++ b/Makefile @@ -211,8 +211,9 @@ doc-install: index.html $(API_VIEWER_SOURCES) verify-images install -m 0644 $(API_VIEWER_SOURCES) $(DESTDIR)/usr/share/$(DOC_PACKAGE)/api-viewer .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(GEN_DEB) $(DOC_DEB) - tar cf - $(GEN_DEB) $(DOC_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist bullseye + tar cf - $(GEN_DEB) $(DOC_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist $(UPLOAD_DIST) .PHONY: update update: clean