meson: Document build targets, add 'help' target
authorAndres Freund <andres@anarazel.de>
Tue, 21 Nov 2023 01:46:40 +0000 (17:46 -0800)
committerAndres Freund <andres@anarazel.de>
Tue, 21 Nov 2023 01:46:40 +0000 (17:46 -0800)
commit07cb29737a4ea9bd28e436eecb4016c3202e3928
tree41f91055fa9d6c8b99041b0546f306e5cf7d7237
parent6614cfb43c8281feef5c4563ddc36ab04914014e
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
doc/src/sgml/Makefile
doc/src/sgml/docguide.sgml
doc/src/sgml/filelist.sgml
doc/src/sgml/generate-targets-meson.pl [new file with mode: 0644]
doc/src/sgml/installation.sgml
doc/src/sgml/meson.build
doc/src/sgml/targets-meson.txt [new file with mode: 0644]
meson.build