summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2018-03-24 18:02:49 +0200
committerErnestas Kulik <ernestask@gnome.org>2018-03-24 18:22:14 +0200
commit17ebc7e403dfdbb945aa1ef35b792e7db979e36a (patch)
tree08cfc715bafc8f96ab92d17a3329d1febf8b4877 /data
parentddcbe2a4f62d3867b3d782e877b1e8d4bf8f87e4 (diff)
downloadnautilus-17ebc7e403dfdbb945aa1ef35b792e7db979e36a.tar.gz
data/meson.build: Compile gschemas during the build
In particular this can be useful when running tests from the build directory in Builder.
Diffstat (limited to 'data')
-rw-r--r--data/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/meson.build b/data/meson.build
index ab9b853a9..05f962c48 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -118,6 +118,11 @@ configure_file(
output: '@0@.search-provider.ini'.format(application_id)
)
+gnome.compile_schemas(
+ build_by_default: true,
+ depend_files: 'org.gnome.nautilus.gschema.xml'
+)
+
install_data(
'org.gnome.nautilus.gschema.xml',
install_dir: join_paths(datadir, 'glib-2.0', 'schemas')