perl: remove documentation in target tree
authorFrancois Perrad <fperrad@gmail.com>
Mon, 30 Jun 2014 14:11:53 +0000 (16:11 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 1 Jul 2014 13:05:53 +0000 (15:05 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Makefile

index 89127915c6da0bc2436d04de22fd2976b047ee65..b3bd91eb54d4375cc22a65dc8d9b70be52be02f8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -577,6 +577,7 @@ ifeq ($(BR2_PACKAGE_PYTHON_PYC_ONLY)$(BR2_PACKAGE_PYTHON3_PYC_ONLY),y)
        find $(TARGET_DIR)/usr/lib/ -name '*.py' -print0 | xargs -0 rm -f
 endif
        rm -rf $(TARGET_DIR)/usr/lib/luarocks
+       rm -rf $(TARGET_DIR)/usr/lib/perl5/$(PERL_VERSION)/pod
        rm -rf $(TARGET_DIR)/usr/lib/perl5/$(PERL_VERSION)/$(PERL_ARCHNAME)/CORE
        find $(TARGET_DIR)/usr/lib/perl5/ -name '*.bs' -print0 | xargs -0 rm -f
        find $(TARGET_DIR)/usr/lib/perl5/ -name '.packlist' -print0 | xargs -0 rm -f