meson.build: install the protocol .txt files in doc

This now matches the autotools installation

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2021-02-25 10:27:08 +10:00
parent a657dd0b45
commit 8f6a67d314

View file

@ -66,6 +66,22 @@ foreach pc : pcs
)
endforeach
docs = files('compositeproto.txt',
'damageproto.txt',
'dri2proto.txt',
'dri3proto.txt',
'fixesproto.txt',
'PM_spec',
'presentproto.txt',
'randrproto.txt',
'renderproto.txt',
'resproto.txt',
'xv-protocol-v2.txt')
install_data(docs,
install_dir: get_option('datadir') / 'doc' / 'xorgproto')
if get_option('legacy') == true
legacy_pcs = [
'evieproto',