From f83ad3f3ef30e202c1d74b5bbd362fafd46726f2 Mon Sep 17 00:00:00 2001 From: Danilo Spinella Date: Tue, 3 Apr 2018 16:01:59 +0200 Subject: Install include directory into includedir Follow includedir parameter when installing include directory. --- include/wlr/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/meson.build b/include/wlr/meson.build index 6a0843f7..6259c311 100644 --- a/include/wlr/meson.build +++ b/include/wlr/meson.build @@ -9,5 +9,6 @@ version_data.set('WLR_VERSION_API_CURRENT', so_version[0]) version_data.set('WLR_VERSION_API_REVISION', so_version[1]) version_data.set('WLR_VERSION_API_AGE', so_version[2]) -configure_file(output: 'config.h', install_dir: 'include/wlr', configuration: conf_data) -configure_file(output: 'version.h', install_dir: 'include/wlr', configuration: version_data) +wlr_inc_dest = join_paths(get_option('includedir'), 'wlr') +configure_file(output: 'config.h', install_dir: wlr_inc_dest, configuration: conf_data) +configure_file(output: 'version.h', install_dir: wlr_inc_dest, configuration: version_data) -- cgit v1.2.3