[libvirt] [PATCH] avoid problem for parallel buld in python subdir

Daniel Veillard veillard at redhat.com
Wed Sep 24 13:36:27 UTC 2008


  Seems very hard to hit but one could get a problem with generation
of the python bindings,
  https://bugzilla.redhat.com/show_bug.cgi?id=463733

the enclosed patch is by Dan Berrange

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/
-------------- next part --------------
? python/libvir-export.c
? python/libvir-py.c
? python/libvir-py.h
? python/libvirclass.txt
? python/tests/reconnect.py
Index: python/Makefile.am
===================================================================
RCS file: /data/cvs/libxen/python/Makefile.am,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile.am
--- python/Makefile.am	5 Feb 2008 19:27:37 -0000	1.13
+++ python/Makefile.am	24 Sep 2008 13:21:06 -0000
@@ -50,7 +50,7 @@ GENERATED= libvirt-export.c \
 $(GENERATED): $(srcdir)/$(GENERATE) $(API_DESC)
 	$(PYTHON) $(srcdir)/$(GENERATE) $(srcdir)
 
-libvirt.py: $(srcdir)/libvir.py libvirtclass.py
+libvirt.py: $(srcdir)/libvir.py $(GENERATED)
 	cat $(srcdir)/libvir.py libvirtclass.py > $@-t
 	mv $@-t $@
 


More information about the libvir-list mailing list