meson.build: silence meson warning that we should use configure_file's copy
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 8 Aug 2018 02:03:13 +0000 (12:03 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 9 Aug 2018 00:39:58 +0000 (10:39 +1000)
Yes, we should use 'copy'. But that requires 0.47 and that's not an option
right now.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
meson.build

index cbdbe8d..b4fed89 100644 (file)
@@ -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,