Patchwork [13/20] efl/libevas: remove examples source code from target filesystem

login
register
mail settings
Submitter Thomas Petazzoni
Date Dec. 28, 2012, 7:42 p.m.
Message ID <3901b91e5c7683ee3960de92eeefe33c22cf9bf6.1356723702.git.thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/208544/
State Accepted
Commit fee5783d17b7e69132d63ba4fb1b660ec2c862e3
Headers show

Comments

Thomas Petazzoni - Dec. 28, 2012, 7:42 p.m.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/efl/libevas/libevas.mk |    8 ++++++++
 1 file changed, 8 insertions(+)

Patch

diff --git a/package/efl/libevas/libevas.mk b/package/efl/libevas/libevas.mk
index 098afe3..0a90842 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))