(all): Indirect through do-all.
(all.real): Remove.
(do-%): New pattern fallback. Performs the standard behaviour:
%-recursive, and then %-local.
(do-run-test): New. Make '-k' more useful.
Reported by Ritvik Mayank.
svn path=/trunk/mcs/; revision=44907
+2005-05-23 Raja R Harinath <rharinath@novell.com>
+
+ * rules.make (STD_TARGETS): Make them all go through an
+ indirection.
+ (all): Indirect through do-all.
+ (all.real): Remove.
+ (do-%): New pattern fallback. Performs the standard behaviour:
+ %-recursive, and then %-local.
+ (do-run-test): New. Make '-k' more useful.
+ Reported by Ritvik Mayank.
+
2005-05-10 Raja R Harinath <rharinath@novell.com>
* library.make (dist-fixup): Fix typo.
ifdef OVERRIDE_TARGET_ALL
all: all.override
else
-all: all.real
+all: do-all
endif
-all.real: all-recursive
- $(MAKE) all-local
-
STD_TARGETS = test run-test run-test-ondotnet clean install uninstall
-$(STD_TARGETS): %: %-recursive
- $(MAKE) $@-local
+$(STD_TARGETS): %: do-%
+
+do-run-test:
+ ok=:; $(MAKE) run-test-recursive || ok=false; $(MAKE) run-test-local || ok=false; $$ok
+
+do-%: %-recursive
+ $(MAKE) $*-local
# The way this is set up, any profile-specific subdirs list should
# be listed _before_ including rules.make. However, the default