blob: 15eaaa095061dc1b1be121076609e406e2115a9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/usr/bin/env python3
# SPDX-FileCopyrightText: 2017 Giovanni Campagna
# SPDX-License-Identifier: GPL-2.0-or-later
import os
import subprocess
prefix = os.environ['MESON_INSTALL_PREFIX']
schemadir = os.path.join(prefix, 'share', 'glib-2.0', 'schemas')
if not os.environ.get('DESTDIR'):
print('Compiling gsettings schemas...')
subprocess.call(['glib-compile-schemas', schemadir])
|