From e0b959c968dae7c5aa8e97f5294bb8582074ef5c Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sun, 21 May 2023 11:19:16 +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 f9ab740..dc2e23d 100644 --- a/Makefile +++ b/Makefile @@ -34,8 +34,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) .PHONY: clean clean: