summaryrefslogtreecommitdiff
path: root/usr.bin/make/unit-tests/Makefile
diff options
context:
space:
mode:
authorapb <apb@NetBSD.org>2006-02-26 22:45:46 +0000
committerapb <apb@NetBSD.org>2006-02-26 22:45:46 +0000
commitf34c12e9891a798cdb3bedffa2ee43aed79adbd7 (patch)
treefa06d1a840e8ecb1c0cf47e3e36732edc0b3a31c /usr.bin/make/unit-tests/Makefile
parent3ea7f78b5754c90382f880088ad622295fe20eb8 (diff)
Make ".WAIT" apply recursively to all children of nodes on the right
hand side of the .WAIT, except when the recursive interpretation would cause a cycle in the dependency graph. Discussed in tech-toolchain. Reviewed by christos, sjg.
Diffstat (limited to 'usr.bin/make/unit-tests/Makefile')
-rw-r--r--usr.bin/make/unit-tests/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/make/unit-tests/Makefile b/usr.bin/make/unit-tests/Makefile
index ac1719701cc..ef05c8a7027 100644
--- a/usr.bin/make/unit-tests/Makefile
+++ b/usr.bin/make/unit-tests/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2006/02/26 21:43:01 sjg Exp $
+# $NetBSD: Makefile,v 1.19 2006/02/26 22:45:46 apb Exp $
#
# Unit tests for make(1)
# The main targets are:
@@ -21,6 +21,7 @@ UNIT_TESTS:= ${.PARSEDIR}
SUBFILES= \
comment \
cond1 \
+ dotwait \
modmatch \
modmisc \
modorder \
@@ -34,6 +35,7 @@ all: ${SUBFILES}
# the tests are actually done with sub-makes.
.PHONY: ${SUBFILES}
+.PRECIOUS: ${SUBFILES}
${SUBFILES}:
-@${.MAKE} -k -f ${UNIT_TESTS}/$@