diff options
author | Victor A. Santos <[email protected]> | 2020-03-30 18:54:42 -0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-09-03 13:19:35 +0200 |
commit | 1db4b409322e559a3d3a03677dd482a0613f3b29 (patch) | |
tree | 5b7f03980579416d78135db46287799eb0a6a0ba /data/meson_post_install.py | |
parent | 301549e96d34a3b79fa471aaff5402689bf5868f (diff) | |
download | mate-power-manager-1db4b409322e559a3d3a03677dd482a0613f3b29.tar.bz2 mate-power-manager-1db4b409322e559a3d3a03677dd482a0613f3b29.tar.xz |
add meson project
fix indentation in some files
Diffstat (limited to 'data/meson_post_install.py')
-rwxr-xr-x | data/meson_post_install.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/data/meson_post_install.py b/data/meson_post_install.py new file mode 100755 index 0000000..d0248f4 --- /dev/null +++ b/data/meson_post_install.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python3 + +import os +import subprocess + +schemadir = os.path.join(os.environ['MESON_INSTALL_PREFIX'], 'share', 'glib-2.0', 'schemas') + +if not os.environ.get('DESTDIR'): + print('Compiling gsettings schemas...') + subprocess.call(['glib-compile-schemas', schemadir]) |