| 1 |
#!/usr/bin/env python3 |
| 2 |
|
| 3 |
import os |
| 4 |
import subprocess |
| 5 |
|
| 6 |
schemadir = os.path.join(os.environ['MESON_INSTALL_PREFIX'], 'share', 'glib-2.0', 'schemas') |
| 7 |
|
| 8 |
if not os.environ.get('DESTDIR'): |
| 9 |
print('Compiling gsettings schemas...') |
| 10 |
subprocess.call(['glib-compile-schemas', schemadir]) |