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

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

From
Andres Freund
Date:
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@eisentraut.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(-)