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 <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni
2010-04-10 22:39:53 +02:00
parent 0f5a2ea776
commit ef785f61ad
19 changed files with 2 additions and 143 deletions

View File

@@ -39,9 +39,6 @@ $(TARGET_DIR)/$(DIALOG_TARGET_BINARY): $(DIALOG_DIR)/$(DIALOG_BINARY)
$(MAKE) prefix=$(TARGET_DIR)/usr \
mandir=$(TARGET_DIR)/usr/share/man \
-C $(DIALOG_DIR) install
ifneq ($(BR2_HAVE_MANPAGES),y)
rm -Rf $(TARGET_DIR)/usr/share/man
endif
dialog: ncurses $(TARGET_DIR)/$(DIALOG_TARGET_BINARY)