summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2009-02-26 13:58:35 +0000
committerDaniel Veillard <veillard@redhat.com>2009-02-26 13:58:35 +0000
commit6b3ca0cc5d59865ab4ff980cabbb6d51b6d473ac (patch)
treee7ac22e54084913c1313158320e649f64d5fdd96 /Makefile.am
parent05665cda467c3594bd7d1c7fbbcdc4ed6617787a (diff)
downloadlibvirt-python-v6-6b3ca0cc5d59865ab4ff980cabbb6d51b6d473ac.tar.gz
libvirt-python-v6-6b3ca0cc5d59865ab4ff980cabbb6d51b6d473ac.tar.xz
libvirt-python-v6-6b3ca0cc5d59865ab4ff980cabbb6d51b6d473ac.zip
* python/Makefile.am: avoid a parallel make issue #472702
provided by Michael Marineau Daniel
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 5 insertions, 2 deletions
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: