leases file defaults to var/misc, which does not exist
[openwrt.git] / package / lighttpd / Makefile
index 7f0b0e7..92ba78f 100644 (file)
@@ -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
This page took 0.020419 seconds and 4 git commands to generate.