X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=dcc742e1609da5b93783f2643bba6eab9534a504;hb=927f8feb68b6da5e38b5e48a8af355b123e8bd6a;hp=4c2f8bd23a339d9b4166288f7c77302dc6d63415;hpb=3cae5b16cba0d0eef547cb082c18c40ac9ae33a6;p=pve-docs.git diff --git a/Makefile b/Makefile index 4c2f8bd..dcc742e 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ DOC_PACKAGE=pve-docs MEDIAWIKI_PACKAGE=pve-docs-mediawiki # also update debian/changelog -PKGREL=5 +PKGREL=12 GITVERSION:=$(shell cat .git/refs/heads/master) @@ -220,16 +220,22 @@ upload: ${GEN_DEB} ${DOC_DEB} ${MEDIAWIKI_DEB} tar cf - ${GEN_DEB} ${DOC_DEB} ${MEDIAWIKI_DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch .PHONY: update -update: clean +update: clean clean-static | update-static + make all + +.PHONY: update-static +update-static: clean-static | $(filter %-synopsis.adoc %-opts.adoc, ${PVE_ADMIN_GUIDE_ADOCDEPENDS}) pve-firewall-macros.adoc api-viewer/apidata.js + +.PHONY: clean-static +clean-static: find . -regex '.*-\(opts\|synopsis\)\.adoc' -not -name pmxcfs.8-synopsis.adoc -exec rm -f \{\} \; rm -f api-viewer/apidata.js rm -f pve-firewall-macros.adoc pct-network-opts.adoc pct-mountpoint-opts.adoc - make all -clean: +clean: rm -rf *.html *.pdf *.epub *.tmp *.1 *.5 *.8 rm -f *.deb *.changes *.buildinfo - rm -f api-viewer/apidoc.js chapter-*.html *-plain.html chapter-*.html pve-admin-guide.chunked asciidoc-pve link-refs.json .asciidoc-pve-tmp_* pve-docs-mediawiki-import - rm -rf .pve-doc-depends + rm -f api-viewer/apidoc.js chapter-*.html *-plain.html chapter-*.html pve-admin-guide.chunked asciidoc-pve link-refs.json .asciidoc-pve-tmp_* pve-docs-mediawiki-import + rm -rf .pve-doc-depends rm -f pve-doc-generator.mk chapter-index-table.adoc man1-index-table.adoc man5-index-table.adoc man8-index-table.adoc pve-admin-guide-docinfo.xml rm -rf build-*