[PATCH 2/2] make: regenerate bindings when <classname>.py changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 python/Makefile.am | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/python/Makefile.am b/python/Makefile.am
index 55c5e41..18da9a2 100644
--- a/python/Makefile.am
+++ b/python/Makefile.am
@@ -26,7 +26,8 @@ CLASSES_EXTRA = \
 	libvirt-override-virConnect.py \
 	libvirt-override-virDomain.py \
 	libvirt-override-virDomainSnapshot.py \
-	libvirt-override-virStream.py
+	libvirt-override-virStream.py \
+	libvirt-override-virStoragePool.py
 
 EXTRA_DIST =			\
 	generator.py		\
@@ -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 $@
 
-- 
1.7.11.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]