summaryrefslogtreecommitdiffstats
path: root/package/dbus/dbus.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2007-11-23 10:00:07 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2007-11-23 10:00:07 +0000
commitcf825074e61733bca94211863731891f51d21dc8 (patch)
treee1511dceb234215363cd4905ab59a18b43473af4 /package/dbus/dbus.mk
parent03293846a3fcf98101935a99f3041cc3490d918a (diff)
downloadbuildroot-novena-cf825074e61733bca94211863731891f51d21dc8.tar.gz
buildroot-novena-cf825074e61733bca94211863731891f51d21dc8.zip
Use BR2_HAVE_MANPAGES
Diffstat (limited to 'package/dbus/dbus.mk')
-rw-r--r--package/dbus/dbus.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 89d8e0577..bb278e5ef 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -74,7 +74,9 @@ $(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-1.so
$(MAKE) DESTDIR=$(TARGET_DIR) initddir=/etc/init.d -C $(DBUS_DIR)/bus install
$(INSTALL) -m 0755 package/dbus/S97messagebus $(TARGET_DIR)/etc/init.d
rm -f $(TARGET_DIR)/etc/init.d/messagebus
+ifneq ($(BR2_HAVE_MANPAGES),y)
rm -rf $(TARGET_DIR)/usr/share/man
+endif
rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
rm -rf $(TARGET_DIR)/etc/rc.d