diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-07-16 10:20:58 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-07-16 10:20:58 +0200 |
commit | 0d9b56ff5bbc3b263bb24d60a5d53e09e2785532 (patch) | |
tree | be9cd87ce9f41713ed2710b9b424861155a43f33 /data/meson_compile_gschema.py | |
parent | 6c629d45711b613257d30e8d5a1527003d9c3f1f (diff) | |
parent | 657d8b8812f16b2c377e5b77ff2ffcc4046a7dce (diff) |
Updated version 3.25.1 from 'upstream/3.25.1'
with Debian dir 8914d0848d9107f42ab3763c541ef1480cee0f27
Diffstat (limited to 'data/meson_compile_gschema.py')
-rwxr-xr-x | data/meson_compile_gschema.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/data/meson_compile_gschema.py b/data/meson_compile_gschema.py new file mode 100755 index 0000000..d0248f4 --- /dev/null +++ b/data/meson_compile_gschema.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]) |