]> git.proxmox.com Git - pve-docs.git/blobdiff - pve-doc-generator.mk.in
add qmeventd manpage
[pve-docs.git] / pve-doc-generator.mk.in
index 893e9f82b37192ec3c8d60d93c354fcbaea6e7ab..7fc159d507cfb1de64a738674e1f89912e27a55e 100644 (file)
@@ -16,7 +16,7 @@ PVE_COMMON_DOC_SOURCES=                 \
 
 all:
 
-attributes.txt docinfo.xml pmxcfs.8-synopsis.adoc:
+attributes.txt docinfo.xml pmxcfs.8-synopsis.adoc qmeventd.8-synopsis.adoc:
        cp ${DGDIR}/$@ $@.tmp
        mv $@.tmp $@
 
@@ -45,6 +45,21 @@ ifneq (${DGDIR},.)
        mv $@.tmp $@
 endif
 
+%.service-bash-completion:
+       perl ${PERL_DOC_INC} -T -e "use PVE::Service::$*; PVE::Service::$*->generate_bash_completions();" >$@.tmp
+       mv $@.tmp $@
+
+%.bash-completion:
+       perl ${PERL_DOC_INC} -T -e "use PVE::CLI::$*; PVE::CLI::$*->generate_bash_completions();" >$@.tmp
+       mv $@.tmp $@
+
+%.service-api-verified:
+       perl ${PERL_DOC_INC} -T -e "use PVE::Service::$*; PVE::Service::$*->verify_api();"
+       touch $@
+
+%.api-verified:
+       perl ${PERL_DOC_INC} -T -e "use PVE::CLI::$*; PVE::CLI::$*->verify_api();"
+       touch $@
 
 %-plain.html: %.adoc ${PVE_COMMON_DOC_SOURCES}
        ${ASCIIDOC_PVE} compile-wiki -o $@ $*.adoc