[PATCH evemu] Check for man pages to exist before making a tarball

Benjamin Tissoires benjamin.tissoires at gmail.com
Thu Oct 15 07:19:46 PDT 2015


On Wed, Oct 14, 2015 at 11:50 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---

Thanks a lot. Tested, validated, and pushed:
   d3af5d2..5ca11ae  master -> master

Cheers,
Benjamin

>  tools/Makefile.am | 9 +++++++++
>  1 file changed, 9 insertions(+)
>
> diff --git a/tools/Makefile.am b/tools/Makefile.am
> index 1559f90..9195595 100644
> --- a/tools/Makefile.am
> +++ b/tools/Makefile.am
> @@ -42,3 +42,12 @@ dist_man_MANS = $(man_pages)
>  CLEANFILES = $(dist_man_MANS)
>  MAINTAINERCLEANFILES = $(man_pages) *.xml
>  endif
> +
> +# make sure manpages were built before running dist
> +dist-hook:
> +       @test -f $(distdir)/evemu-describe.1 || (\
> +               echo "******************************************************" && \
> +               echo "Couldn't find man pages, refusing make dist." && \
> +               echo "Install xmlto/asciidoc to build man pages for tarball." && \
> +               echo "******************************************************" && \
> +               test )
> --
> 2.4.3
>


More information about the Input-tools mailing list