buildsys: derive upload dist automatically

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-06-26 18:14:27 +02:00
parent cdcc762692
commit c195552948

View File

@ -58,8 +58,9 @@ dinstall: $(DEB)
dpkg -i $(DEB) dpkg -i $(DEB)
.PHONY: upload .PHONY: upload
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
upload: $(DEB) $(DBG_DEB) upload: $(DEB) $(DBG_DEB)
tar cf - $(DEB) $(DBG_DEB)| ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist bullseye --arch $(DEB_BUILD_ARCH) tar cf - $(DEB) $(DBG_DEB)| ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist $(UPLOAD_DIST) --arch $(DEB_BUILD_ARCH)
.PHONY: distclean .PHONY: distclean
distclean: clean distclean: clean