pgsql: meson: docs: Add xml{lint,proc} wrapper to collect dependencies

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: docs: Add xml{lint,proc} wrapper to collect dependencies
Date: 2022-10-05 17:08:41
Message-ID: E1og7sv-0012F7-9A@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)eisentraut(at)enterprisedb(dot)com>
Author: Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>
Author: Andres Freund <andres(at)anarazel(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-10-05 18:06:23 pgsql: tests: Restrict pg_locks queries in advisory_locks.sql to curren
Previous Message Peter Eisentraut 2022-10-05 13:07:08 pgsql: Fix whitespace