[Intel-gfx] [maintainer-tools PATCH 1/5] mancheck: run dim.rst through rst2man

Rodrigo Vivi rodrigo.vivi at gmail.com
Wed Aug 9 22:45:21 UTC 2017


Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

On Wed, Aug 9, 2017 at 2:08 PM, Jani Nikula <jani.nikula at intel.com> wrote:
> Be strict and also require plain rst with no raw directives.
>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---
>  Makefile | 1 +
>  dim.rst  | 2 ++
>  2 files changed, 3 insertions(+)
>
> diff --git a/Makefile b/Makefile
> index 44fcdc90473a..784d986b18cd 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -43,6 +43,7 @@ mancheck:
>                         echo "$@: $$cmd not documented"; \
>                 fi \
>         done
> +       rst2man --strict --no-raw dim.rst >/dev/null
>
>  check: shellcheck mancheck all
>
> diff --git a/dim.rst b/dim.rst
> index a2c110a054ee..8b4653aacbda 100644
> --- a/dim.rst
> +++ b/dim.rst
> @@ -13,6 +13,8 @@ drm inglorious maintainer script
>  :Manual section: 1
>  :Manual group: maintainer tools
>
> +.. Please use 'make mancheck' to validate updates to this file.
> +
>  SYNOPSIS
>  ========
>
> --
> 2.11.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br


More information about the Intel-gfx mailing list