buildsys: add upload target

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
Stoiko Ivanov 2023-06-26 15:36:18 +02:00
parent 5b6744fe43
commit 077ef3ca86

View File

@ -81,6 +81,12 @@ material-icons:
.PHONY: download
download: framework7 framework7-icons material-icons
.PHONY: upload
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
upload: $(DEB)
tar cf - $(DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist $(UPLOAD_DIST)
.PHONY: clean
clean:
rm -rf *.tar.* $(BUILDDIR) build/ *.deb *.dsc *.build *.buildinfo *.changes