From 6b3ca0cc5d59865ab4ff980cabbb6d51b6d473ac Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Thu, 26 Feb 2009 13:58:35 +0000 Subject: * python/Makefile.am: avoid a parallel make issue #472702 provided by Michael Marineau Daniel --- Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 8d1462b..a7c342e 100644 --- a/Makefile.am +++ b/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: -- cgit