meson.build: rename build_docs to with_docs
Fix meson complaint. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
6f8ea5f740
commit
3f2a6718df
|
@ -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'],
|
||||||
|
|
|
@ -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')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue