-%.8-synopsis.adoc:
- perl -e "use PVE::Service::$(subst -,_,$*);print PVE::Service::$(subst -,_,$*)->generate_asciidoc_synopsys();" > $@.tmp
- mv $@.tmp $@
-
-%.8: %.adoc %.8-synopsis.adoc docinfo.xml
- a2x -a docinfo1 -a "manvolnum=8" -a "manversion=Release ${DOCRELEASE}" -f manpage $*.adoc
- test -n "$${NOVIEW}" || man -l $@
+pmxcfs.8.html: pmxcfs.adoc pmxcfs.8-cli.adoc ${PVE_COMMON_DOC_SOURCES}
+ asciidoc ${ADOC_MAN8_HTML_ARGS} -o $@ pmxcfs.adoc
+ test -n "$${NOVIEW}" || $(BROWSER) $@ &