From 5d93ce2d0c619ba1b408eb749715e7223e23f6ae Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 21 Oct 2014 14:46:38 -0400 Subject: doc: Check DocBook XML validity during the build Building the documentation with XSLT does not check the DTD, like a DSSSL build would. One can often get away with having invalid XML, but the stylesheets might then create incorrect output, as they are not designed to handle that. Therefore, check the validity of the XML against the DTD, using xmllint, during the build. Add xmllint detection to configure, and add some documentation. xmllint comes with libxml2, which is already in use, but it might be in a separate package, such as libxml2-utils on Debian. Reviewed-by: Fabien COELHO --- src/Makefile.global.in | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/Makefile.global.in b/src/Makefile.global.in index e76b22fb2d2..7648dba1723 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -353,6 +353,7 @@ DOCBOOKSTYLE = @DOCBOOKSTYLE@ JADE = @JADE@ NSGMLS = @NSGMLS@ OSX = @OSX@ +XMLLINT = @XMLLINT@ XSLTPROC = @XSLTPROC@ # Code coverage -- cgit v1.2.3