From a7868e0131516ef2dece82586edd52dc87fe336c Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Thu, 26 Feb 2009 13:58:35 +0000 Subject: [PATCH] * python/Makefile.am: avoid a parallel make issue #472702 provided by Michael Marineau Daniel --- ChangeLog | 5 +++++ python/Makefile.am | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index dcfb9745f5..6eef4af0da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 26 14:43:48 CET 2009 Daniel Veillard + + * python/Makefile.am: avoid a parallel make issue #472702 + provided by Michael Marineau + Wed Feb 25 21:00:46 CET 2009 Daniel Veillard * docs/formatnetwork.html docs/formatnetwork.html.in: patch from diff --git a/python/Makefile.am b/python/Makefile.am index 8d1462b3f0..a7c342e7cf 100644 --- a/python/Makefile.am +++ b/python/Makefile.am @@ -51,8 +51,11 @@ GENERATED= libvirt-export.c \ libvirt-py.h \ libvirtclass.py -$(GENERATED): $(srcdir)/$(GENERATE) $(API_DESC) +generated.stamp: $(srcdir)/$(GENERATE) $(API_DESC) $(PYTHON) $(srcdir)/$(GENERATE) $(srcdir) + touch $@ + +$(GENERATED): generated.stamp libvirt.py: $(srcdir)/libvir.py $(GENERATED) $(CLASSES_EXTRA) cat $(srcdir)/libvir.py libvirtclass.py > $@-t @@ -70,7 +73,7 @@ install-data-local: uninstall-local: rm -f $(DESTDIR)$(pythondir)/libvirt.py -CLEANFILES= $(GENERATED) libvirt.py +CLEANFILES= $(GENERATED) generated.stamp libvirt.py else all: