[PATCH weston 3/7] autotools: Use pkg*dir

Quentin Glidic sardemff7+wayland at sardemff7.net
Tue Jun 18 00:11:30 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 0c386f8..296b3a4 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -86,8 +86,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



More information about the wayland-devel mailing list