Commit 9419c268 authored by Ernestas Kulik's avatar Ernestas Kulik 🦑

meson: compile gschemas after installing

As some users or developers might choose to install repo builds, they
would also have to compile the installed GSettings schema manually. This
commit adds a script that does that post-install.

https://bugzilla.gnome.org/show_bug.cgi?id=779669
parent ef7005ea
#!/bin/sh
# Avoid compiling schemas when packaging.
if [ -z "$DESTDIR" ]
then
glib-compile-schemas "${MESON_INSTALL_PREFIX}/share/glib-2.0/schemas"
fi
......@@ -128,3 +128,6 @@ endif
if get_option ('enable-nst-extension')
subdir ('nautilus-sendto-extension')
endif
# Compile GSettings schemas when installing from source.
meson.add_install_script ('compile_gschemas.sh')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment