mirror of
https://git.proxmox.com/git/pmg-docs
synced 2025-08-03 22:50:14 +00:00
buildsys: derive upload dist automatically
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
69c1be1243
commit
82588cce7c
3
Makefile
3
Makefile
@ -211,8 +211,9 @@ doc-install: index.html $(API_VIEWER_SOURCES) verify-images
|
||||
install -m 0644 $(API_VIEWER_SOURCES) $(DESTDIR)/usr/share/$(DOC_PACKAGE)/api-viewer
|
||||
|
||||
.PHONY: upload
|
||||
upload: UPLOAD_DIST ?= $(DEB_DISTRIBUTION)
|
||||
upload: $(GEN_DEB) $(DOC_DEB)
|
||||
tar cf - $(GEN_DEB) $(DOC_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist bullseye
|
||||
tar cf - $(GEN_DEB) $(DOC_DEB) | ssh -X repoman@repo.proxmox.com -- upload --product pmg --dist $(UPLOAD_DIST)
|
||||
|
||||
.PHONY: update
|
||||
update: clean
|
||||
|
Loading…
Reference in New Issue
Block a user