[PATCH weston sdk v2 3/8] autotools: Use pkg*dir

Quentin Glidic sardemff7+wayland at sardemff7.net
Mon Jul 1 08:03:03 PDT 2013


From: Quentin Glidic <sardemff7+git at sardemff7.net>

Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
---
 data/Makefile.am | 4 +---
 src/Makefile.am  | 3 +--
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/data/Makefile.am b/data/Makefile.am
index a7cc944..f6f05f9 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,6 +1,4 @@
-westondatadir = $(datadir)/weston
-
-dist_westondata_DATA =				\
+dist_pkgdata_DATA =				\
 	wayland.svg				\
 	$(wayland_icon_png)			\
 	pattern.png				\
diff --git a/src/Makefile.am b/src/Makefile.am
index 630e740..1459859 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -88,8 +88,7 @@ endif # BUILD_WESTON_LAUNCH
 
 pkgconfig_DATA = weston.pc
 
-westonincludedir = $(includedir)/weston
-westoninclude_HEADERS =				\
+pkginclude_HEADERS =				\
 	version.h				\
 	compositor.h				\
 	../shared/matrix.h			\
-- 
1.8.3.1



More information about the wayland-devel mailing list