Fix uninstall-dev: remove libusb-config lib, remove all libusb-* shared libs
[openwrt.git] / openwrt / 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.023445 seconds and 4 git commands to generate.