From d0a94a5372696b7aa5ef89748ff4776d729ea5d7 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 22 May 2023 13:23:20 +0200 Subject: [PATCH] buildsys: derive upload dist automatically Signed-off-by: Thomas Lamprecht --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 895e06c..068dc60 100644 --- a/Makefile +++ b/Makefile @@ -29,8 +29,9 @@ $(DSC): $(BUILDDIR) lintian $(DSC) .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEB) - tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist bullseye + tar cf - $(DEB) | ssh repoman@repo.proxmox.com -- upload --product pve --dist $(UPLOAD_DIST) distclean: clean