pgsql: Run xmllint validation only once

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Run xmllint validation only once
Date: 2022-09-14 16:15:03
Message-ID: E1oYV2V-000KTP-5V@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2022-09-14 17:03:53 Re: pgsql: Handle SIGTERM in pg_receivewal and pg_recvlogical
Previous Message Peter Eisentraut 2022-09-14 16:11:23 Re: pgsql: process startup: Remove bootstrap / checker modes from AuxProcTy