summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Thomsen <cogitri@exherbo.org>2018-08-12 13:35:15 +0100
committerRasmus Thomsen <cogitri@exherbo.org>2018-08-12 13:35:15 +0100
commita20a314473663df5c9cc0fd8ca8466e1c430d391 (patch)
tree9fe6a5508a71dbd09eb2cc82c92103736d8e55ee
parentb7f36dd71ee0ddfff04be1e90a654ddf13293d0f (diff)
downloadtotem-pl-parser-a20a314473663df5c9cc0fd8ca8466e1c430d391.tar.gz
build: honor 'includedir' meson parameter
-rw-r--r--plparse/meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/plparse/meson.build b/plparse/meson.build
index 48b0556..bdfde9d 100644
--- a/plparse/meson.build
+++ b/plparse/meson.build
@@ -1,5 +1,7 @@
gnome = import('gnome')
+includedir = join_paths(get_option('includedir'), 'totem-pl-parser/1/plparser')
+
plparser_public_headers = [
'totem-pl-parser.h',
'totem-pl-playlist.h',
@@ -14,14 +16,14 @@ version_cdata.set('TOTEM_PL_PARSER_VERSION_MINOR', plparse_minor_version)
version_cdata.set('TOTEM_PL_PARSER_VERSION_MICRO', plparse_micro_version)
features_h = configure_file(input: 'totem-pl-parser-features.h.in',
output: 'totem-pl-parser-features.h',
- install_dir: 'include/totem-pl-parser/1/plparser',
+ install_dir: includedir,
configuration: version_cdata)
totem_pl_parser_builtins = gnome.mkenums('totem-pl-parser-builtins',
sources: 'totem-pl-parser.h',
c_template : 'totem-pl-parser-builtins.c.template',
h_template : 'totem-pl-parser-builtins.h.template',
- install_dir : 'include/totem-pl-parser/1/plparser',
+ install_dir : includedir,
install_header : true)
totem_pl_parser_builtins_h = totem_pl_parser_builtins[1]