diff --git a/meson.build b/meson.build index 20496bb0..661290ea 100644 --- a/meson.build +++ b/meson.build @@ -31,10 +31,18 @@ project('mu', ['c', 'cpp'], # installation paths prefixdir = get_option('prefix') -bindir = join_paths(prefixdir, get_option('bindir')) -datadir = join_paths(prefixdir, get_option('datadir')) -mandir = join_paths(prefixdir, get_option('mandir')) -infodir = join_paths(prefixdir, get_option('infodir')) +bindir = prefixdir / get_option('bindir') +datadir = prefixdir / get_option('datadir') +mandir = prefixdir / get_option('mandir') +infodir = prefixdir / get_option('infodir') + +# allow for configuring lispdir, as with autotools. +# default to

= 0.56 @@ -79,7 +77,7 @@ foreach src : mu4e_srcs build_by_default: true, input: src, output: target_name, - install_dir: lispdir, + install_dir: mu4e_lispdir, install: true, command: [emacs, '--no-init-file', @@ -92,7 +90,7 @@ foreach src : mu4e_srcs endforeach # also install the sources and the config -install_data(mu4e_srcs, install_dir: lispdir) +install_data(mu4e_srcs, install_dir: mu4e_lispdir) # install mu4e-about.org install_data('mu4e-about.org', install_dir : join_paths(datadir, 'doc', 'mu'))