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
2 changed files with 2 additions and 2 deletions

View File

@ -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'],