[shotwell/wip/profiles: 1/2] build: Make compiled schema depend on the XML files
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/wip/profiles: 1/2] build: Make compiled schema depend on the XML files
- Date: Sat, 8 Jun 2019 21:52:12 +0000 (UTC)
commit f062469a097fa718ecdbce388b9c3fde3f2f1ef6
Author: Jens Georg <mail jensge org>
Date: Sat Jun 8 23:31:41 2019 +0200
build: Make compiled schema depend on the XML files
data/gsettings/meson.build | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
---
diff --git a/data/gsettings/meson.build b/data/gsettings/meson.build
index ed8507a8..d70ff503 100644
--- a/data/gsettings/meson.build
+++ b/data/gsettings/meson.build
@@ -1,5 +1,11 @@
-install_data(files('org.yorba.shotwell-extras.gschema.xml',
- 'org.yorba.shotwell.gschema.xml'),
- install_dir : join_paths(get_option('datadir'), 'glib-2.0', 'schemas'))
+schema_xml = files(
+ 'org.yorba.shotwell-extras.gschema.xml',
+ 'org.yorba.shotwell.gschema.xml'
+)
-gnome.compile_schemas()
+install_data(schema_xml,
+ install_dir : join_paths(get_option('datadir'), 'glib-2.0', 'schemas'))
+
+gnome.compile_schemas(
+ depend_files : schema_xml
+)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]