pgsql: meson: Document build targets, add 'help' target

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: meson: Document build targets, add 'help' target
Date: 2023-11-21 01:53:02
Message-ID: E1r5Fwj-006Rca-Uf@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

meson: Document build targets, add 'help' target

Currently important build targets are somewhat hard to discover. This commit
documents important meson build targets in the sgml documentation. But it's
awkward to have to lookup build targets in the docs when hacking, so this also
adds a 'help' target, printing out the same information. To avoid having to
duplicate information in two places, generate both docbook and interactive
docs from a single source.

Reviewed-by: Peter Eisentraut <peter(at)eisentraut(dot)org>
Discussion: https://postgr.es/m/20231108232121.ww542mt6lfo6f26f@awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/07cb29737a4ea9bd28e436eecb4016c3202e3928

Modified Files
--------------
doc/src/sgml/Makefile | 5 ++-
doc/src/sgml/docguide.sgml | 13 ++++---
doc/src/sgml/filelist.sgml | 1 +
doc/src/sgml/generate-targets-meson.pl | 63 ++++++++++++++++++++++++++++++++++
doc/src/sgml/installation.sgml | 15 ++++++++
doc/src/sgml/meson.build | 9 +++++
doc/src/sgml/targets-meson.txt | 43 +++++++++++++++++++++++
meson.build | 7 ++++
8 files changed, 148 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2023-11-21 02:40:02 pgsql: Log messages for replication slot acquisition and release.
Previous Message Jeff Davis 2023-11-21 00:13:54 pgsql: Optimize check_search_path() by using SearchPathCache.