diff mbox series

[nft] doc: don't check asciidoc output with xmllint

Message ID 156587186868.6108.9984300050354536787.stgit@endurance
State Accepted
Delegated to: Pablo Neira
Headers show
Series [nft] doc: don't check asciidoc output with xmllint | expand

Commit Message

Arturo Borrero Gonzalez Aug. 15, 2019, 12:24 p.m. UTC
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.

Signed-off-by: Arturo Borrero Gonzalez <arturo@netfilter.org>
---
 doc/Makefile.am |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Pablo Neira Ayuso Aug. 15, 2019, 12:25 p.m. UTC | #1
On Thu, Aug 15, 2019 at 02:24:28PM +0200, Arturo Borrero Gonzalez wrote:
> 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.
diff mbox series

Patch

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 01e1af9..f0958b3 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -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 = \