meson.build: rename build_docs to with_docs

Fix meson complaint.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-07-25 01:17:20 +01:00
parent 6f8ea5f740
commit 3f2a6718df
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
mans = ['compton.1', 'compton-trans.1'] mans = ['compton.1', 'compton-trans.1']
if get_option('build_docs') if get_option('with_docs')
a2x = find_program('a2x') a2x = find_program('a2x')
foreach m : mans foreach m : mans
custom_target(m, output: [m], input: [m+'.asciidoc'], custom_target(m, output: [m], input: [m+'.asciidoc'],

View File

@ -9,7 +9,7 @@ option('dbus', type: 'boolean', value: true, description: 'Enable support for D-
option('xrescheck', type: 'boolean', value: false, description: 'Enable X resource leak checker (for debug only)') option('xrescheck', type: 'boolean', value: false, description: 'Enable X resource leak checker (for debug only)')
option('build_docs', type: 'boolean', value: false, description: 'Build documentation and man pages') option('with_docs', type: 'boolean', value: false, description: 'Build documentation and man pages')
option('modularize', type: 'boolean', value: false, description: 'Build with clang\'s module system') option('modularize', type: 'boolean', value: false, description: 'Build with clang\'s module system')