Skip to contentSkip to conversation

doc: don't check asciidoc output with xmllint

PATCH Applied Arturo Borrero Gonzalez 2 participants 2 messages Aug 15, 2019 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: don't check asciidoc output with xmllint

We don't need to check asciidoc output with xmllint because the generated XML is generated by a tool, not by a human. Moreover, xmllint can cause problems because it will try to download the DTD and that is problematic in build systems with no network access.

---
 doc/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/Makefile.am +1 -1
index 01e1af9..f0958b3 100644
@@ -2,7 +2,7 @@ if BUILD_MAN
 man_MANS = nft.8 libnftables-json.5 libnftables.3
 endif
 
-A2X_OPTS_MANPAGE = --doctype manpage --format manpage -D ${builddir}
+A2X_OPTS_MANPAGE = -L --doctype manpage --format manpage -D ${builddir}
 
 ASCIIDOC_MAIN = nft.txt
 ASCIIDOC_INCLUDES = \
maintainer Applied
#1 lore raw
Quoted 4 lines · Arturo Borrero Gonzalez

We don't need to check asciidoc output with xmllint because the generated XML is generated by a tool, not by a human. Moreover, xmllint can cause problems because it will try to download the DTD and that is problematic in build systems with no network access.

Applied, thanks.