From 9d93a1336dda158f46d6d3048ab9bc6945bdf48f Mon Sep 17 00:00:00 2001 From: Stoiko Ivanov Date: Wed, 24 May 2023 12:08:54 +0200 Subject: [PATCH] buildsys: derive upload dist automatically taken from pve-common commit: 0bc017209886ee52a5418bcb7921324836cc869b Signed-off-by: Stoiko Ivanov --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9782d41..ce027dd 100644 --- a/Makefile +++ b/Makefile @@ -42,9 +42,10 @@ ${DEB}: ${OPKGNAME}/Xdgmime.xs ${BUILDSRC} cd ${BUILDSRC}; dpkg-buildpackage -b -us -uc lintian ${DEB} -.PHONY: upload +.phony: upload +upload: UPLOAD_DIST ?= ${DEB_DISTRIBUTION} upload: ${DEB} - tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist stretch + tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist ${UPLOAD_DIST} CLEANFILES = *~ debian/*~ *.deb ${BUILDSRC} libxdgmime-perl* *.buildinfo *.build *.dsc *tar.?z