From: Thomas Lamprecht Date: Sat, 6 May 2023 15:12:11 +0000 (+0200) Subject: buildsys: derive upload dist automatically X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=85269ac9fe302a16ba7b5f5f13aa8f72e3c0439c;hp=9a6cbb2614ef84ece3b637db4af3add6ce75491f;p=novnc-pve.git buildsys: derive upload dist automatically Signed-off-by: Thomas Lamprecht --- diff --git a/Makefile b/Makefile index b4d8a33..304f07e 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -include /usr/share/dpkg/pkg-info.mk +include /usr/share/dpkg/default.mk PACKAGE=novnc-pve @@ -41,8 +41,9 @@ download $(SRCDIR): git submodule foreach 'git pull --ff-only origin master' .PHONY: upload +upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION) upload: $(DEB) - tar cf - $(DEB)|ssh -X repoman@repo.proxmox.com -- upload --product pmg,pve --dist bullseye + tar cf - $(DEB)|ssh -X repoman@repo.proxmox.com -- upload --product pmg,pve --dist $(UPLOAD_DIST) .PHONY: distclean distclean: clean