summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-04-10 20:44:37 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-04-11 04:01:08 (GMT)
commitbb36364742486116fb7dbe57bea110b1305fd616 (patch)
tree265751281cf2dbff54bfc24a1e71871ef716a67b
parent87b0637bd086ecdaf01f6f108bd68eb7662397ca (diff)
downloadbuildroot-bb36364742486116fb7dbe57bea110b1305fd616.tar.gz
buildroot-bb36364742486116fb7dbe57bea110b1305fd616.tar.bz2
Do not remove documentation on a per-package basis
Since the documentation cleanup is done by the main Makefile in a global way, there's no need to do that on a per-package basis in the generic package infrastructure. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Makefile.package.in9
1 files changed, 0 insertions, 9 deletions
diff --git a/package/Makefile.package.in b/package/Makefile.package.in
index fbd7f69..e98fda8 100644
--- a/package/Makefile.package.in
+++ b/package/Makefile.package.in
@@ -171,15 +171,6 @@ $(BUILD_DIR)/%/.stamp_target_installed:
@$(call MESSAGE,"Installing to target")
$($(PKG)_INSTALL_TARGET_CMDS)
$(foreach hook,$($(PKG)_POST_INSTALL_TARGET_HOOKS),$(call $(hook))$(sep))
- $(if $(BR2_HAVE_MANPAGES),,for d in man share/man; do \
- rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \
- done)
- $(if $(BR2_HAVE_INFOPAGES),,for d in info share/info; do \
- rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \
- done)
- $(if $(BR2_HAVE_DOCUMENTATION),,for d in doc share/doc; do \
- rm -rf $(TARGET_DIR)/$$d $(TARGET_DIR)/usr/$$d; \
- done)
$(Q)touch $@
# Clean package