while these are not strictly documentation, they use the same mechanisms
and are generated at the same time as the man pages.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
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 $@
%-plain.html: %.adoc ${PVE_COMMON_DOC_SOURCES}
${ASCIIDOC_PVE} compile-wiki -o $@ $*.adoc