meson: make docdir configurable

The debian package wants to install docs to $datadir/doc/i3-wm.

related to #4086
This commit is contained in:
Michael Stapelberg
2020-05-19 18:24:38 +02:00
parent aba6ec3e52
commit 693eee0c03
3 changed files with 12 additions and 4 deletions

View File

@ -5,3 +5,6 @@ option('docs', type: 'boolean', value: false,
option('mans', type: 'boolean', value: false,
description: 'Build manpages from source (release tarballs contain a generated copy)')
option('docdir', type: 'string', value: '',
description: 'documentation directory (default: $datadir/docs/i3)')