@$(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