[igt-dev] [PATCH i-g-t] man:meson.build: Fix build option check
Antonio Argenziano
antonio.argenziano at intel.com
Thu May 23 21:47:34 UTC 2019
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 <antonio.argenziano at intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Cc: Petri Latvala <petri.latvala at intel.com>
---
man/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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'
--
2.21.0
More information about the igt-dev
mailing list