diff options
author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-02-27 20:06:43 +0200 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-02-28 13:45:31 +0200 |
commit | 0f0db14e7f4ec41251ca156d7cb5b8d531a38006 (patch) | |
tree | 1ad342a87a1ed7b25e97f56327fec7f225997591 /tests/i915/gem_ctx_thrash.c | |
parent | 21e45c99dc2e0439bb48703a559814de002f4ff2 (diff) |
meson: Make doc building dependent on gtk-doc
Currently, when gtk-doc is not installed 'ninja' succeeds but
'ninja install' fails with the following error:
FileNotFoundError: [Errno 2] No such file or directory: 'gtkdoc-scan': 'gtkdoc-scan'
With this patch 'meson build' will log that documentations would not
build and 'ninja install' will succeed.
When forcing building docs with 'meson -Dbuild_docs=true build' the
following error will occur instead:
meson.build:323:0: ERROR: Dependency "gtk-doc" not found, tried pkgconfig and cmake
Cc: Petri Latvala <petri.latvala@intel.com>
Reported-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'tests/i915/gem_ctx_thrash.c')
0 files changed, 0 insertions, 0 deletions