diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-20 12:46:58 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-22 15:55:11 +0200 |
commit | e0d0bbec5bfc1ac91a51bf3ed386fa9aabacdae0 (patch) | |
tree | d4e1809e06c1c9f054162b16dd7283c216b56d37 /tools | |
parent | ba70ffe57a7cb833871146eb09d1fefcbe560512 (diff) | |
download | gobject-introspection-e0d0bbec5bfc1ac91a51bf3ed386fa9aabacdae0.tar.gz |
meson: Provide our Python tools for builds. See !51
So that meson projects using gi as a subproject can find them.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/meson.build b/tools/meson.build index ea8ccc3a..73472664 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -19,13 +19,16 @@ foreach tool : tools tools_conf.set('TOOL_MODULE', tool[1]) tools_conf.set('TOOL_FUNCTION', tool[2]) - tool_output += configure_file( + tool_bin = configure_file( input: 'g-ir-tool-template.in', output: tool[0], configuration: tools_conf, install: true, install_dir: get_option('bindir'), ) + tool_output += tool_bin + # Provide tools for others when we're a subproject and they use the Meson GNOME module + meson.override_find_program(tool[0], tool_bin) endforeach girscanner = tool_output[0] |