aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2023-06-24 15:26:17 +0200
committerPřemysl Eric Janouch <p@janouch.name>2023-06-24 15:26:45 +0200
commit3449ac5a125a542c1ce78377f312607faf4271a8 (patch)
tree2a413e6ff718008452397121311b1f7d518241bc
parentbbfa2344d6ec955b5483d59dceed2f656ca3ee5d (diff)
downloadfiv-3449ac5a125a542c1ce78377f312607faf4271a8.tar.gz
fiv-3449ac5a125a542c1ce78377f312607faf4271a8.tar.xz
fiv-3449ac5a125a542c1ce78377f312607faf4271a8.zip
Make GSettings find schema XMLs in devenv
-rw-r--r--meson.build8
1 files changed, 6 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 459600b..ed3acbe 100644
--- a/meson.build
+++ b/meson.build
@@ -202,10 +202,14 @@ if get_option('tools').enabled()
endif
endif
+# Copying the files to the build directory makes GSettings find them in devenv.
gsettings_schemas = ['fiv.gschema.xml']
foreach schema : gsettings_schemas
- install_data(schema,
- rename : [application_ns + schema],
+ configure_file(
+ input : schema,
+ output : application_ns + schema,
+ copy : true,
+ install: true,
install_dir : get_option('datadir') / 'glib-2.0' / 'schemas')
endforeach