[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] build: support 'make check' in pristine tree



2010/5/26 Eric Blake <eblake redhat com>:
> Otherwise, 'make check' in the python dir tries to reference a file in
> docs that is built by 'make' but not by 'make check'.
>
> * docs/Makefile.am (check-local): New rule.
> Reported by Matthias Bolte.
> ---
>
> Test with make && rm docs/libvirt-api.xml && make check
>
>  docs/Makefile.am |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/docs/Makefile.am b/docs/Makefile.am
> index 70b9e51..41068c6 100644
> --- a/docs/Makefile.am
> +++ b/docs/Makefile.am
> @@ -143,6 +143,8 @@ html/%-%.html html/%-virterror.html %-api.xml %-refs.xml: \
>                $(srcdir)/../src/%.c \
>                $(srcdir)/../src/util/virterror.c
>
> +check-local: all
> +
>  clean-local:
>        rm -f *~ *.bak *.hierarchy *.signals *-unused.txt
>
> --
> 1.7.0.1
>

ACK, this fixes the problem.

Matthias


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]