From bed55a902c46ad0fb1330a19daaa9834a37d3336 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 28 Nov 2021 00:09:29 -0500 Subject: gnome module: document and fix install_dir x3, by allowing false *_gir and *_typelib generate_gir forces building both the typelib and gir, and some people only want one or the other (probably only the typelib?) which means flagging the other as install_dir: false in the same way custom_target supports. As this always worked, albeit undocumented, make sure it keeps working. It's pretty reasonable to allow, anyway. Fixes https://github.com/mesonbuild/meson/pull/9484#issuecomment-980131791 --- docs/markdown/Gnome-module.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/markdown/Gnome-module.md b/docs/markdown/Gnome-module.md index 9c941d9..9091fd5 100644 --- a/docs/markdown/Gnome-module.md +++ b/docs/markdown/Gnome-module.md @@ -104,9 +104,9 @@ There are several keyword arguments. Many of these map directly to the * `include_directories`: extra include paths to look for gir files * `install`: if true, install the generated files * `install_dir_gir`: (*Added 0.35.0*) which directory to install the - gir file into + gir file into; can be false to disable installation * `install_dir_typelib`: (*Added 0.35.0*) which directory to install - the typelib file into + the typelib file into; can be false to disable installation * `link_with`: list of libraries to link with * `symbol_prefix`: the symbol prefix for the gir object, e.g. `gtk`, (*Since 0.43.0*) an ordered list of multiple prefixes is allowed -- cgit v1.1