buildsys: derive upload dist automatically

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-05-22 13:23:20 +02:00
parent 9a75d60723
commit d0a94a5372

View File

@ -29,8 +29,9 @@ $(DSC): $(BUILDDIR)
lintian $(DSC) lintian $(DSC)
.PHONY: upload .PHONY: upload
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
upload: $(DEB) 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)
distclean: clean distclean: clean