From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: meson: docs: Add xml{lint,proc} wrapper to collect dependencies
Date: Wed, 05 Oct 2022 17:08:41 +0000
Message-ID: <E1og7sv-0012F7-9A@gemulon.postgresql.org> (raw)
meson: docs: Add xml{lint,proc} wrapper to collect dependencies
meson/ninja do not support specifying dependencies via globs (as those make it
significantly more expensive to check the current build state). Instead
targets should emit dependency information when running that then can be
cheaply re-checked during future builds.
To handle xmllint and xsltproc invocations in the docs, add and use a wrapper
that uses --load-trace to collect dependency information.
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Author: Nazir Bilal Yavuz <byavuz81@gmail.com>
Author: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/c5736f70-bb6d-8d25-e35c-e3d886e4e905@enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/29668e31865aa0442cd181ec7ee514295ef3578b
Modified Files
--------------
doc/src/sgml/meson.build | 41 +++++++++++++++++++++--------
doc/src/sgml/xmltools_dep_wrapper | 54 +++++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+), 11 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: meson: docs: Add xml{lint,proc} wrapper to collect dependencies
In-Reply-To: <E1og7sv-0012F7-9A@gemulon.postgresql.org>
References: <E1og7sv-0012F7-9A@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox