build-sys: Use $datadir for .proto files/codegen scripts

They are not arch-specific, so installing them in $libdir is not needed.
This commit is contained in:
Christophe Fergeau 2015-10-01 18:21:56 +02:00
parent 017ddbe7a7
commit 95b5617874
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ NULL =
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = python_modules spice
codegendir = $(libdir)/spice-protocol
codegendir = $(datadir)/spice-protocol
dist_codegen_DATA = \
spice.proto \
spice1.proto \

View File

@ -1,6 +1,6 @@
NULL =
python_codegendir = $(libdir)/spice-protocol/python_modules
python_codegendir = $(datadir)/spice-protocol/python_modules
dist_python_codegen_DATA = \
__init__.py \
codegen.py \

View File

@ -1,7 +1,7 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
includedir=@includedir@
codegendir=@libdir@/spice-protocol
datadir=${prefix}/share
codegendir=${datadir}/spice-protocol
Name: spice-protocol
Description: SPICE protocol headers