* python/Makefile.am: avoid a parallel make issue #472702

provided by Michael Marineau
Daniel
This commit is contained in:
Daniel Veillard
2009-02-26 13:58:35 +00:00
parent 44811e8a2a
commit a7868e0131
2 changed files with 10 additions and 2 deletions

View File

@@ -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: