mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-05 08:48:02 +02:00
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>
This commit is contained in:
parent
dc936707a9
commit
82e974ef1d
1 changed files with 1 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue