diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-19 20:13:08 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-09-19 20:13:08 +0000 |
commit | 7b0ad787d6fb0e967e4ee938fffaf804cf433588 (patch) | |
tree | 25c0adbb86f6287a4a74700277cc9aeb803fe4d9 /package/lighttpd/lighttpd.mk | |
parent | 7935c98db167e9c3a34ea88332977efa2cafc79a (diff) | |
download | buildroot-novena-7b0ad787d6fb0e967e4ee938fffaf804cf433588.tar.gz buildroot-novena-7b0ad787d6fb0e967e4ee938fffaf804cf433588.zip |
- fixes and cleanups (Cristian Ionescu-Idbohrn)
Diffstat (limited to 'package/lighttpd/lighttpd.mk')
-rw-r--r-- | package/lighttpd/lighttpd.mk | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk index cafb3d285..afb57cb7d 100644 --- a/package/lighttpd/lighttpd.mk +++ b/package/lighttpd/lighttpd.mk @@ -14,11 +14,13 @@ LIGHTTPD_TARGET_BINARY:=usr/sbin/lighttpd $(DL_DIR)/$(LIGHTTPD_SOURCE): $(WGET) -P $(DL_DIR) $(LIGHTTPD_SITE)/$(LIGHTTPD_SOURCE) + ifneq ($(LIGHTTPD_PATCH),) LIGHTTPD_PATCH_FILE:=$(DL_DIR)/$(LIGHTTPD_PATCH) $(LIGHTTPD_PATCH_FILE): $(WGET) -P $(DL_DIR) $(LIGHTTPD_SITE)/$(LIGHTTPD_PATCH) endif + lighttpd-source: $(DL_DIR)/$(LIGHTTPD_SOURCE) $(LIGHTTPD_PATCH_FILE) $(LIGHTTPD_DIR)/.unpacked: $(DL_DIR)/$(LIGHTTPD_SOURCE) @@ -63,17 +65,21 @@ $(LIGHTTPD_DIR)/.configured: $(LIGHTTPD_DIR)/.unpacked $(LIGHTTPD_DIR)/$(LIGHTTPD_BINARY): $(LIGHTTPD_DIR)/.configured $(MAKE) -C $(LIGHTTPD_DIR) - + $(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 +ifneq ($(BR2_HAVE_MANPAGES),y) + rm -rf $(TARGET_DIR)/usr/share/man +endif @rm -rf $(TARGET_DIR)/usr/lib/lighttpd/*.la $(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; \ + $(INSTALL) -m 0644 -D $(LIGHTTPD_DIR)/doc/lighttpd.conf \ + $(TARGET_DIR)/etc/lighttpd/lighttpd.conf; \ fi - $(INSTALL) -m 0755 -D package/lighttpd/rc.lighttpd $(TARGET_DIR)/etc/init.d/S99lighttpd + $(INSTALL) -m 0755 -D package/lighttpd/rc.lighttpd \ + $(TARGET_DIR)/etc/init.d/S99lighttpd ifeq ($(strip $(BR2_PACKAGE_LIGHTTPD_OPENSSL)),y) lighttpd: uclibc openssl $(TARGET_DIR)/$(LIGHTTPD_TARGET_BINARY) |