From 76fd6a7b2219ee71d222656af913a25ed732b165 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 8 May 2023 13:39:18 +0200 Subject: [PATCH] buildsys: derive upload dist automatically Signed-off-by: Thomas Lamprecht --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 2279801..ab6415a 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ -include /usr/share/dpkg/pkg-info.mk -include /usr/share/dpkg/architecture.mk +include /usr/share/dpkg/default.mk PACKAGE=lxcfs @@ -47,8 +46,9 @@ $(DSC): $(ORIG_SRC_TAR) $(BUILDDIR) lintian $(DSC) .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEBS) - tar cf - $(DEBS) | ssh repoman@repo.proxmox.com upload --product pve --dist bookworm + tar cf - $(DEBS) | ssh repoman@repo.proxmox.com upload --product pve --dist $(UPLOAD_DIST) .PHONY: clean distclean clean: -- 2.39.5