INSTALLATION_SOURCES= \
pve-usbstick.adoc \
+ pve-system-requirements.adoc \
pve-installation.adoc
SYSADMIN_PARTS= \
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}) \
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 {} ';'