summaryrefslogtreecommitdiff
path: root/install-scripts/meson_install_schemas.py
blob: 6b2bbe2d0613d833309f230a5897176770d11211 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/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])