From fee5783d17b7e69132d63ba4fb1b660ec2c862e3 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 28 Dec 2012 18:02:58 +0100 Subject: [PATCH] efl/libevas: remove examples source code from target filesystem Signed-off-by: Thomas Petazzoni --- package/efl/libevas/libevas.mk | 8 ++++++++ 1 file changed, 8 insertions(+) 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)) -- 2.30.2