From: Thomas Petazzoni Date: Fri, 28 Dec 2012 17:02:58 +0000 (+0100) Subject: efl/libevas: remove examples source code from target filesystem X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fee5783d17b7e69132d63ba4fb1b660ec2c862e3;p=buildroot.git efl/libevas: remove examples source code from target filesystem Signed-off-by: Thomas Petazzoni --- diff --git a/package/efl/libevas/libevas.mk b/package/efl/libevas/libevas.mk index 098afe3f95..0a908424f0 100644 --- a/package/efl/libevas/libevas.mk +++ b/package/efl/libevas/libevas.mk @@ -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))