summaryrefslogtreecommitdiff
path: root/public-api
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2018-10-19 17:01:45 +0200
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2018-10-21 00:22:40 +0200
commitcc6cd9d569df4ed2c0dad39dcee0cadea6416e59 (patch)
tree9bb344fca53186f8ce2dddd76cb1f3a85a5a9af3 /public-api
parent709135ad94deaa3be191f3b3a0b66c0e1546266f (diff)
downloadgeoclue-cc6cd9d569df4ed2c0dad39dcee0cadea6416e59.tar.gz
build: Rename abs_header_dir to include_subdir
This is a better name as it's not absolute but a subdirectory of the includedir, relative to the prefix. Also rename the identical install_dir in public-api.
Diffstat (limited to 'public-api')
-rw-r--r--public-api/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/public-api/meson.build b/public-api/meson.build
index b0caff4..5772aaa 100644
--- a/public-api/meson.build
+++ b/public-api/meson.build
@@ -2,7 +2,7 @@ headers = [ 'gclue-enums.h' ]
header_dir = 'libgeoclue-' + gclue_api_version
install_headers(headers, subdir: header_dir)
-install_dir = join_paths(get_option('includedir'), header_dir)
+include_subdir = join_paths(get_option('includedir'), header_dir)
libgeoclue_public_api_gen_sources = gnome.mkenums_simple(
'gclue-enum-types',
@@ -10,7 +10,7 @@ libgeoclue_public_api_gen_sources = gnome.mkenums_simple(
header_prefix: '#include <gclue-enums.h>',
decorator : 'GCLUE_ENUMS_H',
install_header: true,
- install_dir: install_dir)
+ install_dir: include_subdir)
libgeoclue_public_api_sources = [ libgeoclue_public_api_gen_sources,
'gclue-enums.c' ]