From 382756c3ec76c9d9d6ec0bac8568eab886d77a79 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 17 May 2023 11:45:24 +0200 Subject: [PATCH] buildsys: derive upload dist automatically Signed-off-by: Thomas Lamprecht --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cb857b7..be86654 100644 --- a/Makefile +++ b/Makefile @@ -36,9 +36,10 @@ lint: $(JSSRC) $(MAKE) -C src lint .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEBS) - tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist bullseye - tar cf - $(DEV_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product devel --dist bullseye + tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pve,pmg,pbs --dist $(UPLOAD_DIST) + tar cf - $(DEV_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product devel --dist $(UPLOAD_DIST) distclean: clean clean: