mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-26 14:18:31 +00:00
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.
This commit is contained in:
parent
2b9d15c1d3
commit
1830e216c4
@ -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
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
includedir=@includedir@
|
||||
codegendir=@libdir@/spice-protocol
|
||||
|
||||
Name: spice-protocol
|
||||
Description: SPICE protocol headers
|
||||
|
||||
Loading…
Reference in New Issue
Block a user