Improved missing directory message.

This commit is contained in:
Joel Sherrill
1998-09-24 20:30:09 +00:00
parent 85420c8e32
commit 7a86dc4404
2 changed files with 8 additions and 2 deletions

View File

@@ -26,7 +26,10 @@ $(RECURSE_TARGETS):
for subd in $(SUB_DIRS) xxx; \
do if [ $$subd != xxx ] ; then \
cd $$BASEDIR; \
test -d $$subd || $(EXIT_CMD) ; \
if [ ! -d $$subd ] ; then \
$(ECHO) "*** ERROR -- Directory ($$subd) does not exist!!!"; \
$(EXIT_CMD) ; \
fi ; \
$(ECHO); \
$(ECHO) "*** $$BASEDIR/$$subd ($@)" ; \
cmd="cd $$subd; $(MAKE) $(RULE)"; \