diff options
Diffstat (limited to 'tools/meson.build')
-rw-r--r-- | tools/meson.build | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tools/meson.build b/tools/meson.build index 59249f2..5e4333d 100644 --- a/tools/meson.build +++ b/tools/meson.build @@ -13,7 +13,7 @@ basic_tools = [ ] foreach tool : basic_tools - executable( + exe = executable( tool, files(tool + '.c'), c_args: c_suppressions, @@ -22,6 +22,8 @@ foreach tool : basic_tools install: true, ) + meson.override_find_program(tool, exe) + install_man(files('..' / 'doc' / tool + '.1')) endforeach @@ -42,7 +44,7 @@ sndfile_dep = dependency( ) if sndfile_dep.found() - executable( + lv2apply = executable( 'lv2apply', files('lv2apply.c'), c_args: c_suppressions, @@ -51,6 +53,8 @@ if sndfile_dep.found() install: true, ) + meson.override_find_program('lv2apply', lv2apply) + install_man(files('..' / 'doc' / 'lv2apply.1')) endif @@ -69,7 +73,7 @@ int main(void) { struct timespec t; return clock_gettime(CLOCK_MONOTONIC, &t); } args: platform_defines, dependencies: [rt_dep], name: 'clock_gettime') - executable( + lv2bench = executable( 'lv2bench', files('lv2bench.c'), c_args: c_suppressions, @@ -78,6 +82,8 @@ int main(void) { struct timespec t; return clock_gettime(CLOCK_MONOTONIC, &t); } install: true, ) + meson.override_find_program('lv2bench', lv2bench) + install_man(files('..' / 'doc' / 'lv2bench.1')) endif endif |