-PVE_ADMIN_GUIDE_SOURCES= \
- ${DATACENTER_CONF_MAN5_SOURCES} \
- ${QM_CONF_MAN5_SOURCES} \
- ${PCT_CONF_MAN5_SOURCES} \
- ${SYSADMIN_SOURCES} \
- pve-admin-guide.adoc \
- pve-intro.adoc \
- pmxcfs.adoc \
- pmxcfs.8-cli.adoc \
- pve-faq.adoc \
- ${PVE_FIREWALL_MAN8_SOURCES} \
- ${PVESM_MAN1_SOURCES} \
- ${PCT_MAN1_SOURCES} \
- ${PVECM_MAN1_SOURCES} \
- ${PVEUM_MAN1_SOURCES} \
- ${QM_MAN1_SOURCES} \
- ${QMRESTORE_MAN1_SOURCES} \
- ${HA_MANAGER_MAN1_SOURCES} \
- ${PVESTATD_MAN8_SOURCES} \
- ${PVEDAEMON_MAN8_SOURCES} \
- ${PVEPROXY_MAN8_SOURCES} \
- ${SPICEPROXY_MAN8_SOURCES} \
- ${PVE_HA_CRM_MAN8_SOURCES} \
- ${PVE_HA_LRM_MAN8_SOURCES} \
- ${VZDUMP_MAN1_SOURCES} \
- ${PVEAM_MAN1_SOURCES} \
- ${PVESUBSCRIPTION_MAN1_SOURCES} \
- ${PVECEPH_MAN1_SOURCES} \
- pve-bibliography.adoc \
- $(addsuffix .adoc, ${COMMAND_LIST}) \
- $(addsuffix .adoc, ${SERVICE_LIST}) \
- $(addsuffix .adoc, ${CONFIG_LIST}) \
- GFDL.adoc \
- attributes.txt
-
-ADOC_STDARG= -a icons -a data-uri -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}"
-ADOC_MAN1_HTML_ARGS=-a "manvolnum=1" ${ADOC_STDARG}
-ADOC_MAN5_HTML_ARGS=-a "manvolnum=5" ${ADOC_STDARG}
-ADOC_MAN8_HTML_ARGS=-a "manvolnum=8" ${ADOC_STDARG}
+asciidoc-pve: asciidoc-pve.in link-refs.json
+ cat asciidoc-pve.in link-refs.json >asciidoc-pve.tmp
+ sed -e s/@RELEASE@/${DOCRELEASE}/ -i asciidoc-pve.tmp
+ chmod +x asciidoc-pve.tmp
+ mv asciidoc-pve.tmp asciidoc-pve
+
+pve-docs-mediawiki-import: pve-docs-mediawiki-import.in link-refs.json
+ cat pve-docs-mediawiki-import.in link-refs.json > pve-docs-mediawiki-import.tmp
+ chmod +x pve-docs-mediawiki-import.tmp
+ mv pve-docs-mediawiki-import.tmp pve-docs-mediawiki-import
+
+INDEX_INCLUDES= \
+ pve-admin-guide.pdf \
+ pve-admin-guide.epub \
+ chapter-index-table.adoc \
+ man1-index-table.adoc \
+ man5-index-table.adoc \
+ man8-index-table.adoc \
+ $(sort $(addsuffix .html, ${MANUAL_PAGES}) ${CHAPTER_LIST})
+
+ADOC_STDARG= -b html5 -a icons -a data-uri -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}"