[PATCH] build: do not install ivi-shell png files with "--disable-ivi-shell"

Manuel Bachmann manuel.bachmann at open.eurogiciel.org
Mon Feb 16 02:00:36 PST 2015


From: Manuel Bachmann <manuel.bachmann at open.eurogiciel.org>

Some of the .png files are specific to ivi-shell. Avoid installing
them to "$prefix/share/weston" if ivi-shell has explicitly been
disabled at configure time.

Signed-off-by: Manuel Bachmann <manuel.bachmann at open.eurogiciel.org>
---
 Makefile.am |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 1864b70..32e8b0b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -688,7 +688,10 @@ dist_westondata_DATA =				\
 	data/icon_window.png			\
 	data/sign_close.png			\
 	data/sign_maximize.png			\
-	data/sign_minimize.png			\
+	data/sign_minimize.png
+
+if ENABLE_IVI_SHELL
+dist_westondata_DATA +=				\
 	data/background.png                     \
 	data/tiling.png                         \
 	data/fullscreen.png                     \
@@ -701,6 +704,7 @@ dist_westondata_DATA =				\
 	data/icon_ivi_simple-egl.png            \
 	data/icon_ivi_simple-shm.png            \
 	data/icon_ivi_smoke.png
+endif
 
 
 if BUILD_WCAP_TOOLS
-- 
1.7.10.4



More information about the wayland-devel mailing list