[libcamera-devel] [PATCH 8/9] Documentation: Search for dot binary

Kieran Bingham kieran.bingham at ideasonboard.com
Wed Sep 23 22:14:18 CEST 2020


On 23/09/2020 16:15, Ricardo Ribalda wrote:
> Doxygen depends on dot to generate the documentation. Make this
> dependency explicit on the meson file.
> 
> Signed-off-by: Ricardo Ribalda <ricardo at ribalda.com>
> ---
>  Documentation/meson.build | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/meson.build b/Documentation/meson.build
> index a09c7f2..7b497ae 100644
> --- a/Documentation/meson.build
> +++ b/Documentation/meson.build
> @@ -8,8 +8,9 @@ doc_install_dir = join_paths(get_option('datadir'), 'doc',
>  #
>  
>  doxygen = find_program('doxygen', required : false)
> +dot = find_program('dot', required : false)
>  
> -if doxygen.found()
> +if doxygen.found() and dot.found()

And this sounds helpful!

Reviewed-by: Kieran Bingham <kieran.bingham at ideasonboard.com>

>      cdata = configuration_data()
>      cdata.set('VERSION', 'v at 0@'.format(libcamera_git_version))
>      cdata.set('TOP_SRCDIR', meson.source_root())
> 

-- 
Regards
--
Kieran


More information about the libcamera-devel mailing list