summaryrefslogtreecommitdiffstats
path: root/meson_post_install.py
blob: 6058e73a9325269b4ad3e449b72f4d231be9372e (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python3

import os
import subprocess
import sys

if not os.environ.get('DESTDIR'):
  schemadir = os.path.join(sys.argv[1], 'glib-2.0', 'schemas')

  print('Compiling gsettings schemas...')
  subprocess.call(['glib-compile-schemas', schemadir])