From 6a782154caa3ae8de86c3f1db4d176f137550d7a Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 12 Jun 2023 13:07:25 +0200 Subject: [PATCH] buildsys: derive upload dist automatically Signed-off-by: Thomas Lamprecht --- Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index b5d7ce9..2f74f2f 100644 --- a/Makefile +++ b/Makefile @@ -9,9 +9,6 @@ DEBS=$(DEB) BUILD_DIR ?= $(DEB_SOURCE)-$(DEB_VERSION) -ARCH=amd64 -DIST=bullseye - all: $(BUILD_DIR): @@ -40,8 +37,9 @@ sbuild: $(DSC) sbuild $< .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEBS) - tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pbs --dist $(DIST) --arch $(ARCH) + tar cf - $(DEBS)|ssh -X repoman@repo.proxmox.com -- upload --product pbs --dist $(UPLOAD_DIST) .PHONY: clean clean: