From 996b4346b6a7f2bd0919817648a4f7a382e59757 Mon Sep 17 00:00:00 2001 From: Antonio Argenziano Date: Thu, 23 May 2019 14:47:34 -0700 Subject: man:meson.build: Fix build option check the build system tries to evaluate a variable that has been removed. Use the option passed from the outside instead. Signed-off-by: Antonio Argenziano Cc: Arkadiusz Hiler Cc: Lucas De Marchi Cc: Petri Latvala Reviewed-by: Arkadiusz Hiler --- man/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man') diff --git a/man/meson.build b/man/meson.build index 35faad28..0f0a6dd4 100644 --- a/man/meson.build +++ b/man/meson.build @@ -40,7 +40,7 @@ if rst2man.found() endforeach build_info += 'Build man pages: true' else - if _man_required + if build_man == 'yes' error('Cannot build man pages due to missing dependencies') endif build_info += 'Build man pages: false' -- cgit v1.2.3