efl/libevas: remove examples source code from target filesystem

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2012-12-28 18:02:58 +01:00
parent 7778a20102
commit fee5783d17

View File

@ -203,5 +203,13 @@ else
LIBEVAS_CONF_OPT += --disable-font-loader-eet
endif
# libevas installs the source code of examples on the target, which
# are generally not useful.
define LIBEVAS_REMOVE_EXAMPLES
rm -rf $(TARGET_DIR)/usr/share/evas/examples/
endef
LIBEVAS_POST_INSTALL_TARGET_HOOKS += LIBEVAS_REMOVE_EXAMPLES
$(eval $(autotools-package))
$(eval $(host-autotools-package))