]> Zhao Yanbai Git Server - minix.git/commitdiff
Clean
authorBen Gras <ben@minix3.org>
Sat, 22 Oct 2005 20:38:08 +0000 (20:38 +0000)
committerBen Gras <ben@minix3.org>
Sat, 22 Oct 2005 20:38:08 +0000 (20:38 +0000)
commands/Makefile

index 54999c6433c1a0dde9c8fa09d59ec945445ef546..5aca6957bae4c781d7ef82f5b509cafd0eaffc9d 100755 (executable)
@@ -59,8 +59,8 @@ clean::
        if [ -f $(NVIWORK)/Makefile ]; then cd $(NVIWORK) && make clean; fi
        if [ -f $(LYNX)/Makefile ] ; then cd $(LYNX) && make clean; fi
        if [ -f $(EMACS)/Makefile ] ; then cd $(EMACS) && make clean; fi
-       cd $(COREUTILS) && make clean
        for p in $(SMALLPROGRAMS); do ( cd $$p && make clean ); done
+       for d in $(BIGDIRS); do if [ -d $$d ]; then ( cd $$d && make clean ); fi; done
 
 small::
        for p in $(SMALLPROGRAMS); do ( cd $$p && make all ); done