[igt-dev] [PATCH i-g-t 1/2] README: Use meson for building docs

Petri Latvala petri.latvala at intel.com
Thu Dec 13 13:06:09 UTC 2018


On Thu, Dec 13, 2018 at 01:43:54PM +0100, Daniel Vetter wrote:
> Also simplify the instructions for meson 0.47+, where we track
> dependencies correctly.
> 
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> ---
>  README.md | 11 ++++++++---
>  1 file changed, 8 insertions(+), 3 deletions(-)
> 
> diff --git a/README.md b/README.md
> index dcff03efdbac..f09e10f77f41 100644
> --- a/README.md
> +++ b/README.md
> @@ -126,7 +126,7 @@ to generate this API documentation.
>  
>  To regenerate the html files when updating documentation, use:
>  
> -    $ make clean -C docs && make -C docs
> +    $ ninja -C build igt-gpu-tools-doc
>  
>  If you've added/changed/removed a symbol or anything else that changes
>  the overall structure or indexes, this needs to be reflected in
> @@ -188,14 +188,19 @@ Note that meson insist on separate build directories from the source tree.
>  
>  Running selfchecks for lib/tests and tests/ is done with
>  
> -    $ cd build && ninja test
> +    $ ninja -C build test
>  
>  Note that this doesn't actually run the testcases in tests/: scripts/run-tests.sh
>  should continue to be used for that.
>  
>  Documentation is built using
>  
> -    $ cd build && ninja && ninja igt-gpu-tools-doc
> +    $ ninja -C build igt-gpu-tools-doc
> +
> +Note that this needs meson v0.47 or later, earlier versions of meson do not
> +track depencies correctly for the codumentation build and need:

s/codu/docu/



Reviewed-by: Petri Latvala <petri.latvala at intel.com>


More information about the igt-dev mailing list