diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-06-27 14:01:25 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-07-09 11:28:41 +1000 |
commit | 6be9c3c84e861332938e50d04e82e235a5e2765f (patch) | |
tree | 8c5b82f7db57f7227032fe67e5e59d00dfb1f20b /meson.build | |
parent | 2caf557e1022a79e3812a84cd2aaf4651061ac63 (diff) |
tools: fake-build the other tools the same way as measure touchpad-tap
Doesn't actually do anything but this way they end up in the builddir and can
be picked up by ./builddir/libinput measure fuzz, etc.
And rename the source files to .py to signal that they are not supposed to be
directly executed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/meson.build b/meson.build index 590fb78d..815afba8 100644 --- a/meson.build +++ b/meson.build @@ -554,8 +554,13 @@ configure_file(input : 'tools/libinput-measure.man', install_dir : join_paths(get_option('mandir'), 'man1') ) -install_data('tools/libinput-measure-fuzz', - install_dir : libinput_tool_path) +config_noop = configuration_data() +configure_file(input: 'tools/libinput-measure-fuzz.py', + output: 'libinput-measure-fuzz', + configuration : config_noop, + install : true, + install_dir : libinput_tool_path + ) configure_file(input : 'tools/libinput-measure-fuzz.man', output : 'libinput-measure-fuzz.1', configuration : man_config, @@ -563,8 +568,12 @@ configure_file(input : 'tools/libinput-measure-fuzz.man', install_dir : join_paths(get_option('mandir'), 'man1') ) -install_data('tools/libinput-measure-touchpad-tap', - install_dir : libinput_tool_path) +configure_file(input: 'tools/libinput-measure-touchpad-tap.py', + output: 'libinput-measure-touchpad_tap', + configuration : config_noop, + install : true, + install_dir : libinput_tool_path + ) configure_file(input : 'tools/libinput-measure-touchpad-tap.man', output : 'libinput-measure-touchpad-tap.1', configuration : man_config, @@ -572,7 +581,6 @@ configure_file(input : 'tools/libinput-measure-touchpad-tap.man', install_dir : join_paths(get_option('mandir'), 'man1') ) -config_noop = configuration_data() configure_file(input: 'tools/libinput-measure-touchpad-pressure.py', output: 'libinput-measure-touchpad-pressure', configuration : config_noop, @@ -600,8 +608,12 @@ configure_file(input : 'tools/libinput-measure-touch-size.man', install_dir : join_paths(get_option('mandir'), 'man1') ) -install_data('tools/libinput-measure-trackpoint-range', - install_dir : libinput_tool_path) +configure_file(input: 'tools/libinput-measure-trackpoint-range.py', + output: 'libinput-measure-trackpoint-range', + configuration : config_noop, + install : true, + install_dir : libinput_tool_path + ) configure_file(input : 'tools/libinput-measure-trackpoint-range.man', output : 'libinput-measure-trackpoint-range.1', configuration : man_config, |