From e2f8c013d9f0d828b96e1c4aadccd18e545aed66 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 29 Jan 2019 23:20:57 +0100 Subject: Set paths --- meson.build | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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() -- cgit v1.2.3