summaryrefslogtreecommitdiff
path: root/meson_post_install.py
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2018-04-09 20:44:50 +0200
committerIñigo Martínez <inigomartinez@gmail.com>2018-08-11 22:55:53 +0200
commit9f0651c795ad0f6cfa19e78baa661f940c94b6d2 (patch)
tree4aac77f2018747eb423ecd211c2aacc4cac04e9d /meson_post_install.py
parent082a10cbadd6d7951d12c9b92aa5e1e7278f0068 (diff)
downloaddconf-9f0651c795ad0f6cfa19e78baa661f940c94b6d2.tar.gz
build: Retrieve D-Bus and gio paths from pkg-config files
D-Bus' session bus services' paths and gio's module's paths are hardcoded. However, these directories can be retrieved by checking this information from their pkgconfig files. This patch retrieves the paths for their correspondant pkgconfig files and uses those paths as installation directories. The options to set different directories for these options are not necessary anymore, so they have been removed. Finally, the post install script does not depend anymore on the existence of `gio-querymodules` and is always executed.
Diffstat (limited to 'meson_post_install.py')
-rw-r--r--meson_post_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson_post_install.py b/meson_post_install.py
index 8960540..3082d42 100644
--- a/meson_post_install.py
+++ b/meson_post_install.py
@@ -6,4 +6,4 @@ import sys
if not os.environ.get('DESTDIR'):
print('GIO module cache creation...')
- subprocess.call([sys.argv[1], sys.argv[2]])
+ subprocess.call(['gio-querymodules', sys.argv[1]])