aboutsummaryrefslogtreecommitdiffstats
path: root/package/libevent
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-01-14 06:07:49 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-01-14 06:07:49 +0000
commit7b957dd483edfe3a4f39f7d82cbf470a1bd51524 (patch)
treeb4873cf993a43d7e26c42399a866da53d0e30b5b /package/libevent
parent491c474a4f8433dc6c28d3a53e3fbe8eef410814 (diff)
downloadbuildroot-novena-7b957dd483edfe3a4f39f7d82cbf470a1bd51524.tar.gz
buildroot-novena-7b957dd483edfe3a4f39f7d82cbf470a1bd51524.zip
Remove man pages after installing into target filesystem.
Diffstat (limited to 'package/libevent')
-rw-r--r--package/libevent/libevent.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/libevent/libevent.mk b/package/libevent/libevent.mk
index cda3a3321..9edb72c2e 100644
--- a/package/libevent/libevent.mk
+++ b/package/libevent/libevent.mk
@@ -43,15 +43,18 @@ $(STAGING_DIR)/$(LIBEVENT_TARGET_BINARY): $(LIBEVENT_DIR)/$(LIBEVENT_BINARY)
$(TARGET_DIR)/$(LIBEVENT_TARGET_BINARY): $(STAGING_DIR)/$(LIBEVENT_TARGET_BINARY)
make -C $(LIBEVENT_DIR) DESTDIR=$(TARGET_DIR) install
rm -f $(TARGET_DIR)/usr/lib/libevent*.la $(TARGET_DIR)/usr/include/ev*
+ rm -f $(TARGET_DIR)/usr/man/man3/ev*.3
+ rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/usr/man/man3
libevent: uclibc $(TARGET_DIR)/$(LIBEVENT_TARGET_BINARY)
libevent-clean:
- rm -f $(TARGET_DIR)/$(LIBEVENT_TARGET_BINARY)
+ rm -f $(TARGET_DIR)/$(LIBEVENT_TARGET_BINARY)*
-$(MAKE) -C $(LIBEVENT_DIR) clean
libevent-dirclean:
rm -rf $(LIBEVENT_DIR)
+
#############################################################
#
# Toplevel Makefile options