Commit 9c0707d4 authored by Florian Müllner's avatar Florian Müllner Committed by Jonas Ådahl

build: Run postinstall script where necessary

Package managers usually take care of compiling GSettings schemas and
updating the .desktop database on installation, but when building
manually from source, we should perform the aforementioned actions

parent 78a92fb6
......@@ -189,3 +189,5 @@ subdir('tests')
if get_option('gtk_doc')
# Package managers set this so we don't need to run
if [ -z "$DESTDIR" ]; then
echo Compiling GSettings schemas...
glib-compile-schemas ${MESON_INSTALL_PREFIX}/share/glib-2.0/schemas
echo Updating desktop database...
update-desktop-database -q ${MESON_INSTALL_PREFIX}/share/applications
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