From 307f36e038df29b0c7013edc7aa392054ab84623 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 8 Aug 2018 12:03:13 +1000 Subject: [PATCH] meson.build: silence meson warning that we should use configure_file's copy Yes, we should use 'copy'. But that requires 0.47 and that's not an option right now. Signed-off-by: Peter Hutterer --- meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meson.build b/meson.build index cbdbe8d..b4fed89 100644 --- a/meson.build +++ b/meson.build @@ -476,6 +476,12 @@ configure_file(input : 'tools/libinput-measure.man', ) 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') configure_file(input: 'tools/libinput-measure-fuzz.py', output: 'libinput-measure-fuzz', configuration : config_noop, -- 2.7.4