[gnome-software: 19/22] build: Clean up installation path for schema XML
- From: Phaedrus Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 19/22] build: Clean up installation path for schema XML
- Date: Thu, 18 Feb 2021 07:33:03 +0000 (UTC)
commit dd856edc325d3b830da317436d08dc3e97da8ec2
Author: Philip Withnall <pwithnall endlessos org>
Date: Wed Feb 17 20:52:48 2021 +0000
build: Clean up installation path for schema XML
So that it uses `datadir` correctly. This could have broken if `datadir`
was customised by a distro.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
data/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/meson.build b/data/meson.build
index df09f1680..1e9e6a29f 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -5,7 +5,7 @@ subdir('assets')
compiled_schemas = gnome.compile_schemas(
depend_files: 'org.gnome.software.gschema.xml')
install_data('org.gnome.software.gschema.xml',
- install_dir : 'share/glib-2.0/schemas')
+ install_dir : join_paths(get_option('datadir'), 'glib-2.0', 'schemas'))
if get_option('external_appstream')
# replace @libexecdir@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]