[PATCH wayland] Export the Wayland protocol XML file

Jason Ekstrand jason at jlekstrand.net
Fri Sep 20 06:27:06 PDT 2013


Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
---
 protocol/Makefile.am     | 2 +-
 src/wayland-client.pc.in | 2 ++
 src/wayland-server.pc.in | 2 ++
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/protocol/Makefile.am b/protocol/Makefile.am
index 08690b3..cc9cd1c 100644
--- a/protocol/Makefile.am
+++ b/protocol/Makefile.am
@@ -1 +1 @@
-EXTRA_DIST = wayland.xml
+dist_pkgdata_DATA = wayland.xml
diff --git a/src/wayland-client.pc.in b/src/wayland-client.pc.in
index e453018..eef61da 100644
--- a/src/wayland-client.pc.in
+++ b/src/wayland-client.pc.in
@@ -1,5 +1,7 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
+datarootdir=@datarootdir@
+pkgdatadir=@datadir@/@PACKAGE@
 libdir=@libdir@
 includedir=@includedir@
 
diff --git a/src/wayland-server.pc.in b/src/wayland-server.pc.in
index 18a0b52..50dff53 100644
--- a/src/wayland-server.pc.in
+++ b/src/wayland-server.pc.in
@@ -1,5 +1,7 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
+datarootdir=@datarootdir@
+pkgdatadir=@datadir@/@PACKAGE@
 libdir=@libdir@
 includedir=@includedir@
 
-- 
1.8.3.1



More information about the wayland-devel mailing list