From: Eric Blake Date: Wed, 26 May 2010 21:56:04 +0000 (-0600) Subject: build: support 'make check' in pristine tree X-Git-Tag: v0.8.2~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=047b024f1c7cf4d0a5b514498a914327e35f0c4a;p=thirdparty%2Flibvirt.git build: support 'make check' in pristine tree 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. --- diff --git a/docs/Makefile.am b/docs/Makefile.am index 70b9e5118f..41068c6225 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