Codebase list xapp / d3b9b522-c348-4427-8d98-df0de45bcaab/main schemas / meson_install_schemas.py
d3b9b522-c348-4427-8d98-df0de45bcaab/main

Tree @d3b9b522-c348-4427-8d98-df0de45bcaab/main (Download .tar.gz)

meson_install_schemas.py @d3b9b522-c348-4427-8d98-df0de45bcaab/mainraw · history · blame

#!/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])