From f5871e240d6d06e7e8ab0f0ded5d944e8b780cd3 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Wed, 26 Oct 2022 10:25:29 -0400 Subject: backends: Try guessing install tag for all installed files It was only trying to guess install tag, and log missing tags, for files installed by install_data(). Do it also for all other files, especially custom_taget() that commonly installs generated headers. --- test cases/unit/98 install all targets/meson.build | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'test cases/unit') diff --git a/test cases/unit/98 install all targets/meson.build b/test cases/unit/98 install all targets/meson.build index c90632aa6..3065b5f60 100644 --- a/test cases/unit/98 install all targets/meson.build +++ b/test cases/unit/98 install all targets/meson.build @@ -31,6 +31,22 @@ configure_file(input: 'foo.in', output: 'foo2-devel.h', static_library('static', 'lib.c', install: true, ) +custom_target('ct-header1', + output: ['ct-header1.h'], + command: ['script.py', '@OUTPUT@'], + install_dir: get_option('includedir'), + install: true, +) +custom_target('ct-header2', + output: ['ct-header2.h', 'ct-header3.h'], + command: ['script.py', '@OUTPUT@'], + install_dir: [false, get_option('includedir')], + install: true, +) +install_emptydir(get_option('includedir') / 'subdir-devel') +install_subdir('custom_files', + install_dir: get_option('includedir'), +) # Those files should have 'runtime' tag executable('app', 'main.c', -- cgit v1.2.3