summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@collabora.co.uk>2018-09-15 12:47:29 -0400
committerZeeshan Ali <zeenix@collabora.co.uk>2018-09-15 12:47:29 -0400
commit00a4e96da7a291d093ed64eddf0744b52392dd2f (patch)
tree05db601fea6429627cdfdf22d7cc0a78ea58b75c
parentecb3c95833daa9c1f970005ebd095315e0a3c651 (diff)
build: Avoid too long lines using a variable
-rw-r--r--libgeoclue/meson.build7
1 files changed, 4 insertions, 3 deletions
diff --git a/libgeoclue/meson.build b/libgeoclue/meson.build
index a0179ff..bdf72e0 100644
--- a/libgeoclue/meson.build
+++ b/libgeoclue/meson.build
@@ -1,4 +1,5 @@
header_dir = 'libgeoclue-' + gclue_api_version
+abs_header_dir = join_paths(get_option('includedir'), header_dir)
# FIXME: meson 0.46 doesn't seem to be actually installing the headers
# generated by gnome.gdbus_codegen:
@@ -11,21 +12,21 @@ gclue_client = gnome.gdbus_codegen('gclue-client',
interface_prefix: 'org.freedesktop.GeoClue2.',
namespace: 'GClue',
install_header: true,
- install_dir: join_paths(get_option('includedir'), header_dir))
+ install_dir: abs_header_dir)
# Location interface
gclue_location = gnome.gdbus_codegen('gclue-location',
'../src/org.freedesktop.GeoClue2.Location.xml',
interface_prefix: 'org.freedesktop.GeoClue2.',
namespace: 'GClue',
install_header: true,
- install_dir: join_paths(get_option('includedir'), header_dir))
+ install_dir: abs_header_dir)
# Manager interface
gclue_manager = gnome.gdbus_codegen('gclue-manager',
'../src/org.freedesktop.GeoClue2.Manager.xml',
interface_prefix: 'org.freedesktop.GeoClue2.',
namespace: 'GClue',
install_header: true,
- install_dir: join_paths(get_option('includedir'), header_dir))
+ install_dir: abs_header_dir)
libgeoclue_sources = files('gclue-helpers.c', 'gclue-simple.c')
libgeoclue_sources += gclue_client[0]