]> git.proxmox.com Git - pve-docs.git/blobdiff - pve-doc-generator.mk
add pve-ha-crm man page
[pve-docs.git] / pve-doc-generator.mk
index 5668c217802e2f7533e60a71e67163f632c64b76..3e4e0d79285bc9c81cddd936077b1eaf6107ccae 100644 (file)
@@ -10,6 +10,11 @@ PVE_COMMON_DOC_SOURCES=                      \
        pve-copyright.adoc              \
        docinfo.xml
 
+PVECM_MAN1_SOURCES=                    \
+       pvecm.adoc                      \
+       pvecm.1-synopsis.adoc           \
+       ${PVE_COMMON_DOC_SOURCES}
+
 PVE_FIREWALL_MAN8_SOURCES=             \
        pve-firewall.adoc               \
        pve-firewall.8-synopsis.adoc    \
@@ -38,6 +43,31 @@ PCT_MAN1_SOURCES=                    \
        pct.1-synopsis.adoc             \
        ${PVE_COMMON_DOC_SOURCES}
 
+QM_MAN1_SOURCES=                       \
+       qm.adoc                         \
+       qm.1-synopsis.adoc              \
+       ${PVE_COMMON_DOC_SOURCES}
+
+QMRESTORE_MAN1_SOURCES=                        \
+       qmrestore.adoc                  \
+       qmrestore.1-synopsis.adoc       \
+       ${PVE_COMMON_DOC_SOURCES}
+
+PVEUM_MAN1_SOURCES=                    \
+       pveum.adoc                      \
+       pveum.1-synopsis.adoc           \
+       ${PVE_COMMON_DOC_SOURCES}
+
+HA_MANAGER_MAN1_SOURCES=                       \
+       ha-manager.adoc                         \
+       ha-manager.1-synopsis.adoc              \
+       ${PVE_COMMON_DOC_SOURCES}
+
+PVE_HA_CRM_MAN8_SOURCES=                       \
+       pve-ha-crm.adoc                         \
+       pve-ha-crm.8-synopsis.adoc              \
+       ${PVE_COMMON_DOC_SOURCES}
+
 attributes.txt docinfo.xml:
        cp ${DGDIR}/$@ $@.tmp
        mv $@.tmp $@
@@ -76,6 +106,30 @@ pct.1: ${PCT_MAN1_SOURCES}
        a2x -a docinfo1 -a "manvolnum=1" -a "manversion=Release ${DOCRELEASE}" -f manpage pct.adoc
        test -n "$${NOVIEW}" || man -l $@
 
+qm.1: ${QM_MAN1_SOURCES}
+       a2x -a docinfo1 -a "manvolnum=1" -a "manversion=Release ${DOCRELEASE}" -f manpage qm.adoc
+       test -n "$${NOVIEW}" || man -l $@
+
+qmrestore.1: ${QMRESTORE_MAN1_SOURCES}
+       a2x -a docinfo1 -a "manvolnum=1" -a "manversion=Release ${DOCRELEASE}" -f manpage qmrestore.adoc
+       test -n "$${NOVIEW}" || man -l $@
+
+pvecm.1: ${PVECM_MAN1_SOURCES}
+       a2x -a docinfo1 -a "manvolnum=1" -a "manversion=Release ${DOCRELEASE}" -f manpage pvecm.adoc
+       test -n "$${NOVIEW}" || man -l $@
+
+pveum.1: ${PVEUM_MAN1_SOURCES}
+       a2x -a docinfo1 -a "manvolnum=1" -a "manversion=Release ${DOCRELEASE}" -f manpage pveum.adoc
+       test -n "$${NOVIEW}" || man -l $@
+
+ha-manager.1: ${HA_MANAGER_MAN1_SOURCES}
+       a2x -a docinfo1 -a "manvolnum=1" -a "manversion=Release ${DOCRELEASE}" -f manpage ha-manager.adoc
+       test -n "$${NOVIEW}" || man -l $@
+
+pve-ha-crm.8: ${PVE_HA_CRM_MAN8_SOURCES}
+       a2x -a docinfo1 -a "manvolnum=8" -a "manversion=Release ${DOCRELEASE}" -f manpage pve-ha-crm.adoc
+       test -n "$${NOVIEW}" || man -l $@
+
 %.5: %.adoc %.5-opts.adoc ${PVE_COMMON_DOC_SOURCES}
        a2x -a docinfo1 -a "manvolnum=5" -a "manversion=Release ${DOCRELEASE}" -f manpage $*.adoc
        test -n "$${NOVIEW}" || man -l $@