[PATCH] Install protocol XML files in $(datadir)/wayland

Kristian Høgsberg krh at bitplanet.net
Mon Feb 18 14:10:28 PST 2013


This installs the protocol XML under $(datadir)/wayland.  The intention
is that this directory is a shared location for all protocol files and
as such we'll need to prefix our filenames with weston to avoid clashing.

https://bugs.freedesktop.org/show_bug.cgi?id=55183
---

I committed the first SDK patch that installs header files and pkg-config
files.  Next step could be something like this...

Kristian

 protocol/Makefile.am | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/protocol/Makefile.am b/protocol/Makefile.am
index 8c1803c..aa34f3f 100644
--- a/protocol/Makefile.am
+++ b/protocol/Makefile.am
@@ -1,4 +1,5 @@
-EXTRA_DIST =					\
+protocoldir = $(datadir)/wayland
+protocol_DATA =					\
 	desktop-shell.xml			\
 	screenshooter.xml			\
 	tablet-shell.xml			\
-- 
1.8.1



More information about the wayland-devel mailing list