mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-01 05:23:56 +00:00
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
This commit is contained in:
parent
ef7005eae6
commit
9419c26876
7
compile_gschemas.sh
Executable file
7
compile_gschemas.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/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')
|
||||
|
|
Loading…
Reference in a new issue