Use BR2_HAVE_MANPAGES
This commit is contained in:
parent
03293846a3
commit
cf825074e6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user