diff options
| author | Christophe Fergeau <cfergeau@redhat.com> | 2015-07-06 18:20:15 +0200 |
|---|---|---|
| committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-08-07 11:54:48 +0200 |
| commit | 1830e216c447585afca6d02462f59720a80e8bbc (patch) | |
| tree | b73320ca0c2b5801bea3cd691f887210cb31c451 /python_modules | |
| parent | 2b9d15c1d3c8d17e0b9867a47887f2f676994015 (diff) | |
| download | spice-protocol-1830e216c447585afca6d02462f59720a80e8bbc.tar.gz spice-protocol-1830e216c447585afca6d02462f59720a80e8bbc.tar.xz spice-protocol-1830e216c447585afca6d02462f59720a80e8bbc.zip | |
build-sys: Install code generation data/scripts
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.
Diffstat (limited to 'python_modules')
| -rw-r--r-- | python_modules/Makefile.am | 17 |
1 files changed, 8 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) -EXTRA_DIST = $(PYTHON_MODULES) - DISTCLEANFILES = *.pyc -include $(top_srcdir)/git.mk |
