From 68a46f88defd013f7213a56a7325665ce5dd9036 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Fri, 3 Nov 2023 14:06:25 -0700 Subject: [PATCH v1 4/5] docs: meson: Add documentation for important build targets Author: Reviewed-by: Discussion: https://postgr.es/m/20231103163848.26egkh5qdgw3vmil@awork3.anarazel.de Backpatch: --- doc/src/sgml/installation.sgml | 224 +++++++++++++++++++++++++++++++++ 1 file changed, 224 insertions(+) diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index e1c03e21414..6050c38be25 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -3211,6 +3211,230 @@ 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. + + + + 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. + + + + + + + + + + Code Targets + + + + + + + + Build backend and related modules. + + + + + + + + + Build frontend binaries + + + + + + + + + Build contrib modules + + + + + + + + + Build procedual languages + + + + + + + + + + Other Targets + + + + + + + + Remove all build products + + + + + + + + + Remove all enabled tests. Support for some classes of tests can be + enabled / disabled with + and . + + + + + + + + + + -- 2.38.0