Skip to content

Commit

Permalink
Add meson-postinstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunderland93 committed Dec 22, 2023
1 parent 041e901 commit 9bc03ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions meson-postinstall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

if [ -z "$DESTDIR" ]; then
echo Compiling GSettings schemas...
glib-compile-schemas ${MESON_INSTALL_PREFIX}/share/glib-2.0/schemas
fi
2 changes: 2 additions & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ project('mate-wayland-session',

subdir('data')
subdir('session')

meson.add_install_script('meson-postinstall.sh')

0 comments on commit 9bc03ec

Please sign in to comment.