From 6646a608907bfad70eac46e44b4721a793c32198 Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Tue, 14 Sep 1999 23:09:37 +0000 Subject: [PATCH] Remove unused DIRS rule. Only add SUBMAKEFILES rules if SUBMAKEFILES is defined. --- config/rules.mk | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/config/rules.mk b/config/rules.mk index cd9be471676a..17a291c7f7f1 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -689,15 +689,6 @@ endif #STRICT_CPLUSPLUS_SUFFIX %: SCCS/s.% -ifdef DIRS -$(DIRS):: - @set $(EXIT_ON_ERROR); \ - echo "cd $@; $(MAKE)"; \ - cd $@; $(MAKE); \ - set +e; \ - $(CLICK_STOPWATCH) -endif - ############################################################################### # Update Makefiles ############################################################################### @@ -706,9 +697,11 @@ endif Makefile: Makefile.in @$(PERL) $(topsrcdir)/build/autoconf/make-makefile -d $(DEPTH) +ifdef SUBMAKEFILES # VPATH does not work on some machines in this case, so add $(srcdir) $(SUBMAKEFILES): % : $(srcdir)/%.in @$(PERL) $(topsrcdir)/build/autoconf/make-makefile -d $(DEPTH) $@ +endif ############################################################################### # Bunch of things that extend the 'export' rule (in order):