mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-25 15:42:23 +00:00
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:
parent
c501c9e3b8
commit
669f561775
@ -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@
|
||||
|
Loading…
Reference in New Issue
Block a user