summaryrefslogtreecommitdiffstats
path: root/openwrt/package/lighttpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/lighttpd/Makefile')
-rw-r--r--openwrt/package/lighttpd/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/openwrt/package/lighttpd/Makefile b/openwrt/package/lighttpd/Makefile
index 7f0b0e768..92ba78f90 100644
--- a/openwrt/package/lighttpd/Makefile
+++ b/openwrt/package/lighttpd/Makefile
@@ -80,15 +80,15 @@ $(PKG_BUILD_DIR)/.configured:
--enable-static \
--with-openssl="$(STAGING_DIR)/usr" \
)
- touch $(PKG_BUILD_DIR)/.configured
+ touch $@
$(PKG_BUILD_DIR)/.built:
- $(MAKE) -C $(PKG_BUILD_DIR)
+ rm -rf $(PKG_INSTALL_DIR)
mkdir -p $(PKG_INSTALL_DIR)
$(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \
- install
- touch $(PKG_BUILD_DIR)/.built
+ all install
+ touch $@
$(IPKG_LIGHTTPD):
install -m0755 -d $(IDIR_LIGHTTPD)/etc