[libvirt] [PATCH 2/2] make: regenerate bindings when <classname>.py changes
Eric Blake
eblake at redhat.com
Fri Mar 22 03:19:57 UTC 2013
On 03/21/2013 02:41 AM, Guannan Ren wrote:
> ---
> 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
Not alphabetically sorted.
>
> 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 $@
ACK if you fix sorting.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130321/801369bc/attachment-0001.sig>
More information about the libvir-list
mailing list