diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2021-02-18 09:39:46 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2021-02-18 01:00:53 +0000 |
commit | 82e974ef1d86dbd99906615d5b191b57ae510ec0 (patch) | |
tree | 00b9d4a2bed2dc0aa0395e351b4b7e385eae094a | |
parent | dc936707a982f99bd0c62e8f9ba10cd3858a9a2e (diff) |
meson.build: drop the dummy config data and use copy: true instead
We require the meson version this was introduced in, so let's use it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | meson.build | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/meson.build b/meson.build index 7be44ae9..a337c717 100644 --- a/meson.build +++ b/meson.build @@ -572,17 +572,10 @@ src_python_tools = files( 'tools/libinput-measure-touch-size.py', ) -config_noop = configuration_data() -# Set a dummy replacement to silence meson warnings: -# meson.build:487: WARNING: Got an empty configuration_data() object and -# found no substitutions in the input file 'foo'. If you -# want to copy a file to the build dir, use the 'copy:' -# keyword argument added in 0.47.0 -config_noop.set('dummy', 'dummy') foreach t : src_python_tools configure_file(input: t, output: '@BASENAME@', - configuration : config_noop, + copy: true, install_dir : libinput_tool_path ) endforeach |