From 8f6a67d3144a8b5032e8fa19d424b0cea2e6d275 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 25 Feb 2021 10:27:08 +1000 Subject: [PATCH] meson.build: install the protocol .txt files in doc This now matches the autotools installation Signed-off-by: Peter Hutterer --- meson.build | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/meson.build b/meson.build index feb5ae9..5f3622a 100644 --- a/meson.build +++ b/meson.build @@ -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',