build: add 'lispdir' option

Add lispdir option for installing mu4e in a custom directory, which what
some pre-meson users tended to do with --lispdir.

Passing '-Dlispdir=/tmp/foo/bar' causes the mu4e files to be installed
in /tmp/foo/bar/mu4e.

Should help for issue #2287.
This commit is contained in:
Dirk-Jan C. Binnema
2022-07-02 12:18:51 +03:00
parent a423a8bbcc
commit 8f1d83e4b2
3 changed files with 19 additions and 9 deletions

View File

@ -29,3 +29,7 @@ option('emacs',
type: 'string',
value: 'emacs',
description: 'name/path of the emacs executable')
option('lispdir',
type: 'string',
description: 'path under which to install emacs-lisp files')