diff options
Diffstat (limited to 'unit-tests/dep-double-colon.mk')
-rw-r--r-- | unit-tests/dep-double-colon.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/unit-tests/dep-double-colon.mk b/unit-tests/dep-double-colon.mk index de4cd9bc9e33..67a28a4315cd 100644 --- a/unit-tests/dep-double-colon.mk +++ b/unit-tests/dep-double-colon.mk @@ -1,4 +1,4 @@ -# $NetBSD: dep-double-colon.mk,v 1.3 2020/08/22 12:42:32 rillig Exp $ +# $NetBSD: dep-double-colon.mk,v 1.4 2020/09/26 15:41:53 rillig Exp $ # # Tests for the :: operator in dependency declarations. @@ -9,3 +9,12 @@ all:: all:: @echo 'command 2a' @echo 'command 2b' + +# When there are multiple command groups for a '::' target, each of these +# groups is added separately to the .ALLTARGETS variable. +# +# XXX: What is this good for? +# XXX: Where does the leading space come from? +.if ${.ALLTARGETS} != " all all" +. error +.endif |