Commit 6fb5bb1f authored by slamm%netscape.com's avatar slamm%netscape.com
Browse files

Slightly safer test for LOOP_OVER_DIRS. Make sure a Makefile is there. This...

Slightly safer test for LOOP_OVER_DIRS. Make sure a Makefile is there. This handles the case of 'gmake -f client.mk checkout clean build' where checkout adds a directory. ('clean' does not run configure. In fact, 'clean' removes files that configure generates.)
parent dc1006fc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -240,7 +240,7 @@ ifdef DIRS
LOOP_OVER_DIRS		=					\
	@for d in $(DIRS); do					\
		$(UPDATE_TITLE);				\
		if test -d $$d; then				\
		if test -f $$d/Makefile; then			\
			set $(EXIT_ON_ERROR);			\
			echo "cd $$d; $(MAKE) $@";		\
			oldDir=`pwd`;				\