aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-01-29 23:20:57 +0100
committerThomas White <taw@physics.org>2019-05-16 15:15:49 +0200
commite2f8c013d9f0d828b96e1c4aadccd18e545aed66 (patch)
tree21057c1fd31f9433816a07e6c7c7ef36cec61568
parent658c8bd6f634ba1e0fb7e9aff6b10a845ffe8082 (diff)
Set paths
-rw-r--r--meson.build13
1 files changed, 12 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index d9d9349d..dac174e9 100644
--- a/meson.build
+++ b/meson.build
@@ -29,7 +29,18 @@ conf_data = configuration_data()
add_project_arguments('-DHAVE_CONFIG_H', language : 'c')
add_project_arguments('-DUSE_THREADS', language : 'c')
conf_data.set('ICONV_CONST', '')
-add_project_arguments('-DSYSCONFDIR="'+get_option('sysconfdir')+'"',
+add_project_arguments('-DSYSCONFDIR="'+join_paths(get_option('prefix'),
+ get_option('sysconfdir'))+'"',
+ language : 'c')
+add_project_arguments('-DMANUALDIR="'+join_paths(get_option('prefix'),
+ get_option('datadir'),
+ 'sylpheed',
+ 'manual')+'"',
+ language : 'c')
+add_project_arguments('-DFAQDIR="'+join_paths(get_option('prefix'),
+ get_option('datadir'),
+ 'sylpheed',
+ 'faq')+'"',
language : 'c')
if openssl.found()