Skip to content

Commit

Permalink
meson.build: rename build_docs to with_docs
Browse files Browse the repository at this point in the history
Fix meson complaint.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
  • Loading branch information
yshui committed Jul 25, 2019
1 parent 6f8ea5f commit 3f2a671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion man/meson.build
@@ -1,5 +1,5 @@
mans = ['compton.1', 'compton-trans.1']
if get_option('build_docs')
if get_option('with_docs')
a2x = find_program('a2x')
foreach m : mans
custom_target(m, output: [m], input: [m+'.asciidoc'],
Expand Down
2 changes: 1 addition & 1 deletion meson_options.txt
Expand Up @@ -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('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')

Expand Down

0 comments on commit 3f2a671

Please sign in to comment.