Codebase list xapp / scrub-obsolete/main schemas / meson_install_schemas.py
scrub-obsolete/main

Tree @scrub-obsolete/main (Download .tar.gz)

meson_install_schemas.py @scrub-obsolete/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])