From 669f56177550375713398aa22dfa817547df5566 Mon Sep 17 00:00:00 2001 From: Dimitri John Ledkov Date: Tue, 10 Sep 2019 17:08:19 +0100 Subject: [PATCH] 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 Signed-off-by: David Sterba --- Documentation/Makefile.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/Makefile.in b/Documentation/Makefile.in index afc16980..0cc65398 100644 --- a/Documentation/Makefile.in +++ b/Documentation/Makefile.in @@ -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@