summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-07-01 10:52:10 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2020-07-01 10:57:20 +1000
commitf15da0f10890467712222410233c0bec9faefdd0 (patch)
tree341bc4e53cb5a7aef1be2f43b3ff3d75ed63179f
parentad54c0c8b348fdd09ad465debc12ee7d7d034caf (diff)
meson.build: don't install the quirks in a further 'quirks' subdirectory
install_subdir() by default also copies the 'quirks' directory, resulting in the quirks files being in <datadir>/libinput/quirks/*.quirks as opposed to the previous <datadir>/libinput/*.quirks. Fixes 727dc44b045974699be53d07464867d3183c6eef Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--meson.build5
1 files changed, 3 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index eeb73be5..4ae5c9a3 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,7 @@ project('libinput', 'c',
version : '1.15.900',
license : 'MIT/Expat',
default_options : [ 'c_std=gnu99', 'warning_level=2' ],
- meson_version : '>= 0.41.0')
+ meson_version : '>= 0.45.0')
libinput_version = meson.project_version().split('.')
@@ -310,7 +310,8 @@ config_h.set_quoted('LIBINPUT_QUIRKS_OVERRIDE_FILE', libinput_data_override_path
config_h.set_quoted('LIBINPUT_QUIRKS_SRCDIR', dir_src_quirks)
install_subdir('quirks',
exclude_files: ['README.md'],
- install_dir : dir_data)
+ install_dir : dir_data,
+ strip_directory : true)
src_libquirks = [
'src/quirks.c',