summaryrefslogtreecommitdiff
path: root/meson_post_install.py
diff options
context:
space:
mode:
Diffstat (limited to 'meson_post_install.py')
-rw-r--r--meson_post_install.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson_post_install.py b/meson_post_install.py
new file mode 100644
index 0000000..8960540
--- /dev/null
+++ b/meson_post_install.py
@@ -0,0 +1,9 @@
+#!/usr/bin/env python3
+
+import os
+import subprocess
+import sys
+
+if not os.environ.get('DESTDIR'):
+ print('GIO module cache creation...')
+ subprocess.call([sys.argv[1], sys.argv[2]])