Remove switches if sstrip is run

This commit is contained in:
Ulf Samuelsson
2007-08-21 01:53:57 +00:00
parent 1038cfab38
commit e4ead9c13c
79 changed files with 153 additions and 143 deletions

View File

@@ -68,8 +68,8 @@ $(TARGET_DIR)/$(LIGHTTPD_TARGET_BINARY): $(LIGHTTPD_DIR)/$(LIGHTTPD_BINARY)
$(MAKE) DESTDIR=$(TARGET_DIR) -C $(LIGHTTPD_DIR) install
@rm -rf $(TARGET_DIR)/usr/share/man $(TARGET_DIR)/usr/man
@rm -rf $(TARGET_DIR)/usr/lib/lighttpd/*.la
$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/lighttpd/*.so
$(STRIP) --strip-unneeded $(TARGET_DIR)/$(LIGHTTPD_TARGET_BINARY)
$(STRIP) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/lighttpd/*.so
$(STRIP) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/$(LIGHTTPD_TARGET_BINARY)
@if [ ! -f $(TARGET_DIR)/etc/lighttpd/lighttpd.conf ] ; then \
$(INSTALL) -m 0644 -D $(LIGHTTPD_DIR)/doc/lighttpd.conf $(TARGET_DIR)/etc/lighttpd/lighttpd.conf; \
fi;