X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=blobdiff_plain;f=Makefile;h=562e22e15b7a350ec1746ed83e5630a2d38fdbb6;hp=e38dd3289f52f965b0271b034285011476da8b13;hb=aa99b34966c992c7a7bd9b403c2af5f9f0dedb67;hpb=34ef065aac63f0e372510319ef4843b443c16a14 diff --git a/Makefile b/Makefile index e38dd32..562e22e 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ DOC_PACKAGE=pve-docs MEDIAWIKI_PACKAGE=pve-docs-mediawiki # also update debian/changelog -PKGREL=2 +PKGREL=3 GITVERSION:=$(shell cat .git/refs/heads/master) @@ -18,6 +18,7 @@ DOC_DEB=${DOC_PACKAGE}_${DOCRELEASE}-${PKGREL}_all.deb MEDIAWIKI_DEB=${MEDIAWIKI_PACKAGE}_${DOCRELEASE}-${PKGREL}_all.deb CHAPTER_LIST= \ + pve-installation \ sysadmin \ pvecm \ pmxcfs \ @@ -78,6 +79,7 @@ GEN_DEB_SOURCES= \ pve-storage-iscsi.adoc \ pve-storage-iscsidirect.adoc \ pve-storage-lvm.adoc \ + pve-storage-lvmthin.adoc \ pve-storage-nfs.adoc \ pve-storage-rbd.adoc \ pve-storage-zfspool.adoc \ @@ -98,11 +100,14 @@ GEN_SCRIPTS= \ gen-pve-firewall-rules-opts.pl \ gen-pve-firewall-vm-opts.pl +INSTALLATION_SOURCES= \ + pve-usbstick.adoc \ + pve-system-requirements.adoc \ + pve-installation.adoc + SYSADMIN_PARTS= \ - getting-help \ pve-network \ pve-package-repos \ - pve-installation \ system-software-updates \ local-lvm \ local-zfs @@ -122,6 +127,8 @@ PVE_ADMIN_GUIDE_SOURCES= \ ${SYSADMIN_SOURCES} \ pve-admin-guide.adoc \ pve-intro.adoc \ + getting-help.adoc \ + ${INSTALLATION_SOURCES} \ pmxcfs.adoc \ pmxcfs.8-cli.adoc \ pve-faq.adoc \ @@ -150,7 +157,18 @@ PVE_ADMIN_GUIDE_SOURCES= \ GFDL.adoc \ attributes.txt +link-refs.json: scan-adoc-refs ${PVE_ADMIN_GUIDE_SOURCES} + ./scan-adoc-refs ${PVE_ADMIN_GUIDE_SOURCES} >link-refs.json + +asciidoc-pve: asciidoc-pve.in link-refs.json + cat asciidoc-pve.in link-refs.json >asciidoc-pve.tmp + chmod +x asciidoc-pve.tmp + mv asciidoc-pve.tmp asciidoc-pve + WIKI_IMPORTS= \ + section-pve-usbstick-plain.html \ + section-getting-help-plain.html \ + section-pve-system-requirements-plain.html \ $(addsuffix -plain.html, $(addprefix sysadmin-, ${SYSADMIN_PARTS})) \ $(addsuffix -plain.html, $(addprefix chapter-, ${CHAPTER_LIST})) \ $(addsuffix .5-plain.html, ${CONFIG_LIST}) \ @@ -180,6 +198,9 @@ all: index.html sysadmin-%-plain.html: %.adoc asciidoc -s -a wiki -a 'leveloffset=-1' ${ADOC_STDARG} -o $@ $*.adoc +section-%-plain.html: %.adoc + asciidoc -s -a wiki -a 'leveloffset=-1' ${ADOC_STDARG} -o $@ $*.adoc + chapter-sysadmin.html chapter-sysadmin-plain.html: ${SYSADMIN_SOURCES} chapter-%.html: %.adoc ${PVE_COMMON_DOC_SOURCES} @@ -284,5 +305,5 @@ update: clean make all clean: - rm -rf *.tmp.xml *.html *.pdf *.epub *.tmp *.1 *.5 *.8 *.deb *.changes build api-viewer/apidoc.js chapter-*.html chapter-*-plain.html chapter-*.html pve-admin-guide.chunked + rm -rf *.tmp.xml *.html *.pdf *.epub *.tmp *.1 *.5 *.8 *.deb *.changes build api-viewer/apidoc.js chapter-*.html chapter-*-plain.html chapter-*.html pve-admin-guide.chunked asciidoc-pve link-refs.json find . -name '*~' -exec rm {} ';'