summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuannan Ren <gren@redhat.com>2013-03-22 11:51:48 +0800
committerGuannan Ren <gren@redhat.com>2013-03-22 11:51:48 +0800
commit2d40f8a365c398ba62ddb11865bc45bb84ff7e8d (patch)
treeb497c019664fa6bc22c580508390648a8843e1f8
parent497a0ceecbdf4dc72f20612cf2a88a1e551bc8f4 (diff)
downloadlibvirt-python-split-2d40f8a365c398ba62ddb11865bc45bb84ff7e8d.zip
libvirt-python-split-2d40f8a365c398ba62ddb11865bc45bb84ff7e8d.tar.gz
libvirt-python-split-2d40f8a365c398ba62ddb11865bc45bb84ff7e8d.tar.xz
make: regenerate bindings when <classname>.py changes
-rw-r--r--Makefile.am7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 55c5e41..08b2135 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,6 +26,7 @@ CLASSES_EXTRA = \
libvirt-override-virConnect.py \
libvirt-override-virDomain.py \
libvirt-override-virDomainSnapshot.py \
+ libvirt-override-virStoragePool.py \
libvirt-override-virStream.py
EXTRA_DIST = \
@@ -109,7 +110,11 @@ LXC_GENERATED= libvirt-lxc-export.c \
libvirt-lxc.h \
libvirt_lxc.py
-$(GENERATE).stamp: $(srcdir)/$(GENERATE) $(API_DESC) $(QEMU_API_DESC) $(LXC_API_DESC)
+$(GENERATE).stamp: $(srcdir)/$(GENERATE) \
+ $(API_DESC) \
+ $(QEMU_API_DESC) \
+ $(LXC_API_DESC) \
+ $(CLASSES_EXTRA)
$(AM_V_GEN)$(PYTHON) $(srcdir)/$(GENERATE) $(PYTHON) && \
touch $@