diff options
author | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-08-21 16:27:56 +0200 |
---|---|---|
committer | Daniel Mensinger <daniel@mensinger-ka.de> | 2021-10-03 11:46:34 +0200 |
commit | 2b482e39a90fa1929e0fa4006861f4264f28adb2 (patch) | |
tree | 0af5ef229d25bef1b974445406fc3c9d28c0756f /docs/yaml/functions/install_man.yaml | |
parent | ad65a699f93a7659739287882ca27c58c564670b (diff) | |
download | meson-2b482e39a90fa1929e0fa4006861f4264f28adb2.zip meson-2b482e39a90fa1929e0fa4006861f4264f28adb2.tar.gz meson-2b482e39a90fa1929e0fa4006861f4264f28adb2.tar.bz2 |
docs: Add the YAML Reference manual
Diffstat (limited to 'docs/yaml/functions/install_man.yaml')
-rw-r--r-- | docs/yaml/functions/install_man.yaml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/docs/yaml/functions/install_man.yaml b/docs/yaml/functions/install_man.yaml new file mode 100644 index 0000000..b695dc1 --- /dev/null +++ b/docs/yaml/functions/install_man.yaml @@ -0,0 +1,40 @@ +name: install_man +returns: void +description: | + Installs the specified man files from the source tree into system's man directory + during the install step. This directory can be + overridden by specifying it with the `install_dir` keyword argument. + + *(since 0.49.0)* [manpages are no longer compressed implicitly][install_man_49]. + + [install_man_49]: + https://mesonbuild.com/Release-notes-for-0-49-0.html#manpages-are-no-longer-compressed-implicitly + +varargs: + name: file + type: file | str + description: Man pages to install. + +kwargs: + install_mode: + type: list[str | int] + since: 0.47.0 + description: | + Specify the file mode in symbolic format + and optionally the owner/uid and group/gid for the installed files. + + See the `install_mode` kwarg of [[install_data]] for more information. + + install_dir: + type: str + description: Where to install to. + + locale: + type: str + since: 0.58.0 + description: | + Can be used to specify the locale + into which the + man page will be installed within the manual page directory tree. + An example manual might be `foo.fr.1` with a locale of `fr`, such + that `{mandir}/{locale}/man{num}/foo.1` becomes the installed file. |