summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@collabora.co.uk>2018-09-24 14:04:46 +0200
committerZeeshan Ali <zeenix@collabora.co.uk>2018-09-24 14:04:46 +0200
commit3e9567962d6ea45d8929027dfec6e42ee0e951ca (patch)
tree459d75c7c6520255cb59bc72ae9df025837c521c
parentb8fa586f84c5fa485fe3924becc4ff2b08d55938 (diff)
downloadgeoclue-3e9567962d6ea45d8929027dfec6e42ee0e951ca.tar.gz
build: Pass absolute path of sysconfdir to install-file.py
-rw-r--r--demo/meson.build3
1 files changed, 2 insertions, 1 deletions
diff --git a/demo/meson.build b/demo/meson.build
index b1e4285..a638a89 100644
--- a/demo/meson.build
+++ b/demo/meson.build
@@ -56,7 +56,8 @@ if get_option('demo-agent')
install_dir: desktop_dir)
# Also install in the autostart directory.
- autostart_path = join_paths(get_option('sysconfdir'),
+ autostart_path = join_paths(get_option('prefix'),
+ get_option('sysconfdir'),
'xdg/autostart/geoclue-demo-agent.desktop')
meson.add_install_script('install-file.py',
desktop_file.full_path(),