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

Eric Blake eblake at redhat.com
Wed May 26 21:58:01 UTC 2010


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




More information about the libvir-list mailing list