]> git.proxmox.com Git - pve-docs.git/blobdiff - pve-doc-generator.mk.in
make dinstall: skip mediawiki deb for now
[pve-docs.git] / pve-doc-generator.mk.in
index d67d1c5e53e8481820de4bb90caddd1de49b4159..e4678a72f39a3708b0caf7459a11c994dd92f74a 100644 (file)
@@ -1,5 +1,6 @@
 # also update debian/changelog
-DOCRELEASE=5.3
+# FIXME: depend on dpkg-dev and use $(DEB_VERSION_UPSTREAM) here?
+DOCRELEASE=6.0
 
 DGDIR?=/usr/share/pve-doc-generator
 
@@ -53,6 +54,14 @@ endif
        perl ${PERL_DOC_INC} -T -e "use PVE::CLI::$*; PVE::CLI::$*->generate_bash_completions();" >$@.tmp
        mv $@.tmp $@
 
+%.service-zsh-completion:
+       perl ${PERL_DOC_INC} -T -e "use PVE::Service::$*; PVE::Service::$*->generate_zsh_completions();" >$@.tmp
+       mv $@.tmp $@
+
+%.zsh-completion:
+       perl ${PERL_DOC_INC} -T -e "use PVE::CLI::$*; PVE::CLI::$*->generate_zsh_completions();" >$@.tmp
+       mv $@.tmp $@
+
 %.service-api-verified:
        perl ${PERL_DOC_INC} -T -e "use PVE::Service::$*; PVE::Service::$*->verify_api();"
        touch $@