Module Name:    src
Committed By:   rillig
Date:           Sun Nov 22 11:05:49 UTC 2020

Modified Files:
        src/usr.bin/make/unit-tests: suff-incomplete.mk

Log Message:
make(1): document the type of the .DEFAULT node

It is marked intentionally as a transformation node, even though this
seems counterintuitive at first.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/suff-incomplete.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/unit-tests/suff-incomplete.mk
diff -u src/usr.bin/make/unit-tests/suff-incomplete.mk:1.1 src/usr.bin/make/unit-tests/suff-incomplete.mk:1.2
--- src/usr.bin/make/unit-tests/suff-incomplete.mk:1.1	Sat Nov 21 10:32:42 2020
+++ src/usr.bin/make/unit-tests/suff-incomplete.mk	Sun Nov 22 11:05:49 2020
@@ -1,4 +1,4 @@
-# $NetBSD: suff-incomplete.mk,v 1.1 2020/11/21 10:32:42 rillig Exp $
+# $NetBSD: suff-incomplete.mk,v 1.2 2020/11/22 11:05:49 rillig Exp $
 #
 # Tests incomplete transformation rules, which are ignored.
 
@@ -23,8 +23,9 @@ all: suff-incomplete.c
 .DEFAULT:
 	: Making ${.TARGET} from ${.IMPSRC} all ${.ALLSRC} by default.
 
-# XXX: The debug log says "transformation .DEFAULT complete", which is wrong.
-# .DEFAULT is not a transformation.
+# The debug log says "transformation .DEFAULT complete", which seems wrong
+# on the first sight.  It is intentionally done though, in the call to
+# GNode_New(".DEFAULT").
 
 # XXX: The output of this test says "Making suff-incomplete.c from
 # suff-incomplete.c".  It doesn't make sense to make something out of itself.

Reply via email to