fix rebuild, when mostlyclean fails
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Jun 2005 14:22:06 +0000 (14:22 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 5 Jun 2005 14:22:06 +0000 (14:22 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1148 3c298f89-4303-0410-b956-a3cf2f4a3e73

openwrt/package/rules.mk

index 53b868d..e5fe79e 100644 (file)
@@ -28,7 +28,8 @@ $(2)-clean:
        rm -f $$(IPKG_$(1))
 clean: $(2)-clean
 mostlyclean:
-rebuild: mostlyclean
+rebuild:
+       -$(MAKE) mostlyclean
        if [ -f $(PKG_BUILD_DIR)/.built ]; then \
                $(MAKE) clean; \
        fi
@@ -64,7 +65,6 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
 $(PACKAGE_DIR):
        mkdir -p $@
 
-
 clean: 
        rm -rf $(PKG_BUILD_DIR)
 
This page took 0.025257 seconds and 4 git commands to generate.