Don't execute "*clean" rule in subdirectory if there's no makefile.
authorChris Hanson <org/chris-hanson/cph>
Wed, 6 Dec 2000 05:01:26 +0000 (05:01 +0000)
committerChris Hanson <org/chris-hanson/cph>
Wed, 6 Dec 2000 05:01:26 +0000 (05:01 +0000)
v7/src/Makefile

index 39bc571e63afc4ca7384866df127baf6fe1d33d6..92bf889c5216b43a9d1b77bfa290dedd9eb02b90 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.6 2000/12/06 04:58:05 cph Exp $
+# $Id: Makefile,v 1.7 2000/12/06 05:01:26 cph Exp $
 #
 # Copyright (c) 2000 Massachusetts Institute of Technology
 #
@@ -44,7 +44,7 @@ mostlyclean clean distclean maintainer-clean:
            if test -f $${SUBDIR}/Makefile; then \
                echo "making $@ in $${SUBDIR}"; \
                (cd $${SUBDIR} && $(MAKE) $@); \
-           fi;
+           fi; \
        done
 
 .PHONY: all setup tags TAGS mostlyclean clean distclean maintainer-clean