[Spice-devel] [spice-protocol 4/4] build-sys: Install code generation data/scripts
Christophe Fergeau
cfergeau at redhat.com
Fri Jul 10 08:15:23 PDT 2015
On Fri, Jul 10, 2015 at 11:05:40AM -0400, Frediano Ziglio wrote:
> >
> > spice-common generate code from these python scripts and the installed
> > SPICE .proto. This commit installs them during make install, and adds a
> > codegendir variable to the pkgconfig file so that spice-common can
> > locate the scripts.
> > ---
> > python_modules/Makefile.am | 17 ++++++++---------
> > spice-protocol.pc.in | 2 ++
> > 2 files changed, 10 insertions(+), 9 deletions(-)
> >
> > diff --git a/python_modules/Makefile.am b/python_modules/Makefile.am
> > index 50e1a71..3a4515a 100644
> > --- a/python_modules/Makefile.am
> > +++ b/python_modules/Makefile.am
> > @@ -1,16 +1,15 @@
> > NULL =
> >
> > -PYTHON_MODULES = \
> > - __init__.py \
> > - codegen.py \
> > - demarshal.py \
> > - marshal.py \
> > - ptypes.py \
> > - spice_parser.py \
> > +python_codegendir = $(libdir)/spice-protocol/python_modules
> > +dist_python_codegen_DATA = \
> > + __init__.py \
> > + codegen.py \
> > + demarshal.py \
> > + marshal.py \
> > + ptypes.py \
> > + spice_parser.py \
> > $(NULL)
> >
>
> Looks like there are some space changes. Are they required? The patch looks much bigger.
I'll get rid of that.
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150710/31108a14/attachment.sig>
More information about the Spice-devel
mailing list