pgsql: Run xmllint validation only once - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Run xmllint validation only once
Date
Msg-id E1oYV2V-000KTP-5V@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Run xmllint validation only once

Before, each documentation target that built something from
postgres.sgml ran xmllint first to validate the input.  Here, we
change it so that the validation only runs once and produces an output
file, and all the other targets build from that output file.  This
avoids redundant work when building multiple documentation targets
(such as html and man).

Also, when we run xmllint, we can resolve entities (included files).
This helps with tools that don't support vpath builds, such as
dbtoepub.

All this also organizes the make targets a bit better for implementing
equivalent steps in meson.

Discussion: https://www.postgresql.org/message-id/e3ae16de-c9f9-f559-2d11-70b1342ae3d1@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ab393528fa4b2486237ee7aa51fac67f82fee824

Modified Files
--------------
doc/src/sgml/Makefile               | 46 +++++++++++++++++++++----------------
doc/src/sgml/standalone-install.xml |  8 +++----
2 files changed, 30 insertions(+), 24 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pgsql: process startup: Remove bootstrap / checker modes from AuxProcTy
Next
From: Daniel Gustafsson
Date:
Subject: Re: pgsql: Handle SIGTERM in pg_receivewal and pg_recvlogical