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

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@open.eurogiciel.org>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
Manuel Bachmann 2015-02-16 11:00:36 +01:00 committed by Bryce Harrington
parent 8291979662
commit d2c6892c0e
1 changed files with 5 additions and 1 deletions

View File

@ -688,7 +688,10 @@ dist_westondata_DATA = \
data/icon_window.png \ data/icon_window.png \
data/sign_close.png \ data/sign_close.png \
data/sign_maximize.png \ data/sign_maximize.png \
data/sign_minimize.png \ data/sign_minimize.png
if ENABLE_IVI_SHELL
dist_westondata_DATA += \
data/background.png \ data/background.png \
data/tiling.png \ data/tiling.png \
data/fullscreen.png \ data/fullscreen.png \
@ -701,6 +704,7 @@ dist_westondata_DATA = \
data/icon_ivi_simple-egl.png \ data/icon_ivi_simple-egl.png \
data/icon_ivi_simple-shm.png \ data/icon_ivi_simple-shm.png \
data/icon_ivi_smoke.png data/icon_ivi_smoke.png
endif
if BUILD_WCAP_TOOLS if BUILD_WCAP_TOOLS