From 3f2a6718dfb84110862ef3b51b2c961898f21bfd Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Thu, 25 Jul 2019 01:17:20 +0100 Subject: [PATCH] meson.build: rename build_docs to with_docs Fix meson complaint. Signed-off-by: Yuxuan Shui --- man/meson.build | 2 +- meson_options.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/meson.build b/man/meson.build index be67e636..816bb419 100644 --- a/man/meson.build +++ b/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'], diff --git a/meson_options.txt b/meson_options.txt index a999bf75..d0790a3e 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -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')