From 7b0ad787d6fb0e967e4ee938fffaf804cf433588 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 19 Sep 2007 20:13:08 +0000 Subject: - fixes and cleanups (Cristian Ionescu-Idbohrn) --- package/libevent/libevent.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'package/libevent') diff --git a/package/libevent/libevent.mk b/package/libevent/libevent.mk index 5befbfbd6..11e9d974c 100644 --- a/package/libevent/libevent.mk +++ b/package/libevent/libevent.mk @@ -31,6 +31,7 @@ $(LIBEVENT_DIR)/.configured: $(LIBEVENT_DIR)/.unpacked --host=$(GNU_TARGET_NAME) \ --build=$(GNU_HOST_NAME) \ --prefix=/usr \ + --mandir=/usr/share/man \ --disable-static \ --with-gnu-ld \ ) @@ -44,9 +45,11 @@ $(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 + rm -f $(addprefix $(TARGET_DIR)/usr/,lib/libevent*.la \ + include/ev*) +ifneq ($(BR2_HAVE_MANPAGES),y) + rm -fr $(TARGET_DIR)/usr/share/man +endif libevent: uclibc $(TARGET_DIR)/$(LIBEVENT_TARGET_BINARY) -- cgit v1.2.3