mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
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 <coelho@cri.ensmp.fr>
This commit is contained in:
@@ -353,6 +353,7 @@ DOCBOOKSTYLE = @DOCBOOKSTYLE@
|
||||
JADE = @JADE@
|
||||
NSGMLS = @NSGMLS@
|
||||
OSX = @OSX@
|
||||
XMLLINT = @XMLLINT@
|
||||
XSLTPROC = @XSLTPROC@
|
||||
|
||||
# Code coverage
|
||||
|
||||
Reference in New Issue
Block a user