From: Ben Gras Date: Sun, 11 Sep 2005 15:21:50 +0000 (+0000) Subject: Also work if there is no contrib X-Git-Tag: v3.1.0~132 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=189a1cb73857dc911bd31cf5a103f13318464da7;p=minix.git Also work if there is no contrib --- diff --git a/Makefile b/Makefile index 79f4e0884..ec4a0f8b7 100755 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ depend:: clean:: cd lib && $(MAKE) $@ - cd contrib && $(MAKE) $@ + if [ -f contrib/Makefile ]; then cd contrib && $(MAKE) $@; fi test ! -f commands/Makefile || { cd commands && $(MAKE) $@; } if [ -f contrib/Makefile ]; then cd contrib && $(MAKE) clean; fi