]> Zhao Yanbai Git Server - minix.git/commitdiff
Don't do make clean if flex Makefile doesn't exist.
authorBen Gras <ben@minix3.org>
Tue, 24 Oct 2006 14:20:59 +0000 (14:20 +0000)
committerBen Gras <ben@minix3.org>
Tue, 24 Oct 2006 14:20:59 +0000 (14:20 +0000)
commands/Makefile

index a2a41a0dcf8f253f3a6915210121d6177ba0d5ba..1030ccf1c3732cdbd853493eb186de2688ae2bf9 100755 (executable)
@@ -37,9 +37,8 @@ biginstall: big
 
 clean::
        cd $(BZIP2) && make clean
-       cd $(FLEX) && make clean
        cd zmodem && make clean
-       if [ -f $(FLEX)/Makefile ]; then cd $(FLEX) && make clean ; fi
+       if [ -f $(FLEX)/Makefile ]; then cd $(FLEX) && make distclean ; fi
        for p in $(SMALLPROGRAMS); do ( cd $$p && make clean ); done
 
 small::