summaryrefslogtreecommitdiff
path: root/package/gettext
diff options
context:
space:
mode:
Diffstat (limited to 'package/gettext')
-rw-r--r--package/gettext/gettext.mk9
1 files changed, 1 insertions, 8 deletions
diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk
index 81ab9debc..5b045603c 100644
--- a/package/gettext/gettext.mk
+++ b/package/gettext/gettext.mk
@@ -135,14 +135,7 @@ gettext-dirclean:
gettext-target: $(GETTEXT_DIR)/$(GETTEXT_BINARY)
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(GETTEXT_DIR) install
chmod +x $(TARGET_DIR)/usr/lib/libintl.so* # identify as needing to be stripped
-ifneq ($(BR2_HAVE_INFOPAGES),y)
- rm -rf $(TARGET_DIR)/usr/info
-endif
-ifneq ($(BR2_HAVE_MANPAGES),y)
- rm -rf $(TARGET_DIR)/usr/man
-endif
- rm -rf $(addprefix $(TARGET_DIR),/usr/share/doc \
- /usr/doc /usr/share/aclocal /usr/include/libintl.h)
+ rm -rf $(addprefix $(TARGET_DIR),/usr/share/aclocal /usr/include/libintl.h)
rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/include
$(TARGET_DIR)/usr/lib/libintl.so: $(STAGING_DIR)/$(GETTEXT_TARGET_BINARY)