From ef785f61ad7290508b2640d00403b9a957fcdab1 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 10 Apr 2010 22:39:53 +0200 Subject: Do not let packages remove man pages, info pages and documentation The cleanup of $(TARGET_DIR)/usr/share/man, $(TARGET_DIR)/usr/man, $(TARGET_DIR)/usr/share/info, $(TARGET_DIR)/usr/info, $(TARGET_DIR)/usr/share/doc and $(TARGET_DIR)/usr/doc is already done globally in the main Makefile. Therefore, there's no need to handle that on a per-package basis. Signed-off-by: Thomas Petazzoni --- package/gettext/gettext.mk | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'package/gettext') 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) -- cgit v1.2.3