btrfs-progs: docs: use docbook5 backend for asciidoctor

Switch backend to docbook5 for asciidoctor and disable validation as v5
does not use DTBs.

Pull-request: #203
Issue: #201
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Dimitri John Ledkov 2019-09-10 17:08:19 +01:00 committed by David Sterba
parent c501c9e3b8
commit 669f561775

View File

@ -46,6 +46,9 @@ man3dir = $(mandir)/man3
man5dir = $(mandir)/man5
man8dir = $(mandir)/man8
XMLTO = @XMLTO@
XMLTO_EXTRA = -m manpage-bold-literal.xsl
ifeq (@ASCIIDOC_TOOL@,asciidoc)
ASCIIDOC = @ASCIIDOC@
ASCIIDOC_ARGS = -abtrfs_version=$(BTRFS_VERSION) -f asciidoc.conf
@ -57,14 +60,13 @@ ifeq (@ASCIIDOC_TOOL@,asciidoctor)
ASCIIDOC = @ASCIIDOCTOR@
ASCIIDOC_ARGS = -abtrfs_version=$(BTRFS_VERSION)
ASCIIDOC_HTML = xhtml5
ASCIIDOC_DOCBOOK = docbook45
ASCIIDOC_DOCBOOK = docbook5
XMLTO_EXTRA += --skip-validation
ASCIIDOC_DEPS =
endif
MANPAGE_XSL = manpage-normal.xsl
XMLTO = @XMLTO@
XMLTO_EXTRA =
XMLTO_EXTRA = -m manpage-bold-literal.xsl
INSTALL = @INSTALL@
RM = @RM@
RMDIR = @RMDIR@