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/bison/bison.mk | 7 ------- 1 file changed, 7 deletions(-) (limited to 'package/bison') diff --git a/package/bison/bison.mk b/package/bison/bison.mk index 32ed7c719..f29259fd5 100644 --- a/package/bison/bison.mk +++ b/package/bison/bison.mk @@ -52,14 +52,7 @@ $(BISON_DIR)/$(BISON_BINARY): $(BISON_DIR)/.configured $(TARGET_DIR)/$(BISON_TARGET_BINARY): $(BISON_DIR)/$(BISON_BINARY) $(MAKE) DESTDIR=$(TARGET_DIR) CC=$(TARGET_CC) -C $(BISON_DIR) install -ifneq ($(BR2_HAVE_INFOPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/info -endif -ifneq ($(BR2_HAVE_MANPAGES),y) - rm -rf $(TARGET_DIR)/usr/share/man -endif rm -rf $(TARGET_DIR)/share/locale - rm -rf $(TARGET_DIR)/usr/share/doc cp -a package/bison/yacc $(TARGET_DIR)/usr/bin/yacc bison: $(TARGET_DIR)/$(BISON_TARGET_BINARY) -- cgit v1.2.3