From 40fe66e33ec0395a7aed1e7231113f62f31ced9e Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 20 May 2023 20:25:56 +0200 Subject: [PATCH] buildsys: derive upload dist and arch automatically Signed-off-by: Thomas Lamprecht --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eb75371..62817ac 100644 --- a/Makefile +++ b/Makefile @@ -80,5 +80,6 @@ clean: distclean: clean .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEBS) - tar -cf - $(DEBS) | ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bullseye --arch amd64 + tar -cf - $(DEBS) | ssh repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST) --arch $(DEB_HOST_ARCH)