From: Andres Freund Date: Fri, 3 Nov 2023 14:06:25 -0700 Subject: [PATCH v2 5/7] docs: meson: Add documentation for important build targets Author: Reviewed-by: Christoph Berg Discussion: https://postgr.es/m/20231103163848.26egkh5qdgw3vmil@awork3.anarazel.de Backpatch: --- doc/src/sgml/installation.sgml | 244 +++++++++++++++++++++++++++++++++ 1 file changed, 244 insertions(+) diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index 1bfb27fd38d..9dde19224a7 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -3200,6 +3200,250 @@ ninja install + + + <literal>meson</literal> Build Targets + + + Individual build targets can be built using ninja target. + + When no target is specified, everything except documentation is + built. Individual build products can be built using the path/filename as + target. + + + + Code Targets + + + + + + + + Build everything other than documentation + + + + + + + + + Build backend and related modules. + + + + + + + + + Build frontend binaries. + + + + + + + + + Build contrib modules. + + + + + + + + + Build procedual languages. + + + + + + + + + + Install Targets + + + + + + + + Install postgres, excluding documentation. + + + + + + + + + Like , but installed + files are not displayed. + + + + + + + + + Install postgres, including multi-page HTML and man page + documentation. + + + + + + + + + Install documentation in multi-page HTML and man page formats. See + also , . + + + + + + + + + Install documentation in multi-page HTML format. + + + + + + + + + Install documentation in man page format. + + + + + + + + + Remove installed files. + + + + + + + + + Documentation Targets + + + + + + + + + Build documentation in multi-page HTML format. Note that + does not include building + man page documentation, as man page generation seldom fails when + building HTML documentation succeeds. + + + + + + + + + Build documentation in man page format. + + + + + + + + + Build documentation in single-page HTML format. + + + + + + + + + + Build documentation in PDF format, using A4 and U.S. letter format + respectively. + + + + + + + + + Build documentation in all supported formats. Primarily useful when + testing larger documentation changes. + + + + + + + + + + Other Targets + + + + + + + + Remove all build products + + + + + + + + + Run all enabled tests (including contrib). Support for some classes + of tests can be enabled / disabled with and . + + + + + + + + + + Build everything, including documentation. + + + + + + + + + + -- 2.38.0 --sycnt3fdlpbfnd5p Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="v2-0006-meson-Add-help-target-build-docs-from-a-common-so.patch"