summaryrefslogtreecommitdiffstats
path: root/build-aux
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 15:25:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 15:25:44 +0000
commit26e5532cd264d58100e9db9c28ee6f13c4b36ab8 (patch)
tree6165da9db89a878424c0da6b6f8824dece5735ec /build-aux
parentInitial commit. (diff)
downloadgsettings-desktop-schemas-26e5532cd264d58100e9db9c28ee6f13c4b36ab8.tar.xz
gsettings-desktop-schemas-26e5532cd264d58100e9db9c28ee6f13c4b36ab8.zip
Adding upstream version 3.38.0.upstream/3.38.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build-aux')
-rwxr-xr-xbuild-aux/meson/post-install.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/build-aux/meson/post-install.py b/build-aux/meson/post-install.py
new file mode 100755
index 0000000..162f26d
--- /dev/null
+++ b/build-aux/meson/post-install.py
@@ -0,0 +1,13 @@
+#!/usr/bin/env python3
+
+import os
+import subprocess
+import sys
+
+datadir = sys.argv[1]
+
+# Packaging tools define DESTDIR and this isn't needed for them
+if 'DESTDIR' not in os.environ:
+ print('Compiling GSettings schemas...')
+ subprocess.call(['glib-compile-schemas',
+ os.path.join(datadir, 'glib-2.0', 'schemas')])