Module Name:    src
Committed By:   rillig
Date:           Sat Nov 21 08:51:57 UTC 2020

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

Log Message:
make(1): make output of test suff-rebuild more verbose


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.bin/make/unit-tests/suff-rebuild.exp
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/make/unit-tests/suff-rebuild.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-rebuild.exp
diff -u src/usr.bin/make/unit-tests/suff-rebuild.exp:1.1 src/usr.bin/make/unit-tests/suff-rebuild.exp:1.2
--- src/usr.bin/make/unit-tests/suff-rebuild.exp:1.1	Fri Sep 25 18:18:25 2020
+++ src/usr.bin/make/unit-tests/suff-rebuild.exp	Sat Nov 21 08:51:57 2020
@@ -1,5 +1,5 @@
-: from nothing to a
-: from a to b
-: from b to c
-: from c to nothing
+: Making suff-rebuild-example.a out of nothing.
+: Making suff-rebuild-example.b from suff-rebuild-example.a.
+: Making suff-rebuild-example.c from suff-rebuild-example.b.
+: Making suff-rebuild-example from suff-rebuild-example.c.
 exit status 0

Index: src/usr.bin/make/unit-tests/suff-rebuild.mk
diff -u src/usr.bin/make/unit-tests/suff-rebuild.mk:1.3 src/usr.bin/make/unit-tests/suff-rebuild.mk:1.4
--- src/usr.bin/make/unit-tests/suff-rebuild.mk:1.3	Sat Nov 21 08:23:36 2020
+++ src/usr.bin/make/unit-tests/suff-rebuild.mk	Sat Nov 21 08:51:57 2020
@@ -1,4 +1,4 @@
-# $NetBSD: suff-rebuild.mk,v 1.3 2020/11/21 08:23:36 rillig Exp $
+# $NetBSD: suff-rebuild.mk,v 1.4 2020/11/21 08:51:57 rillig Exp $
 #
 # Demonstrates what happens to transformation rules (called inference rules
 # by POSIX) when all suffixes are deleted.
@@ -10,14 +10,14 @@ all: suff-rebuild-example
 .SUFFIXES: .a .b .c
 
 suff-rebuild-example.a:
-	: from nothing to a
+	: Making ${.TARGET} out of nothing.
 
 .a.b:
-	: from a to b
+	: Making ${.TARGET} from ${.IMPSRC}.
 .b.c:
-	: from b to c
+	: Making ${.TARGET} from ${.IMPSRC}.
 .c:
-	: from c to nothing
+	: Making ${.TARGET} from ${.IMPSRC}.
 
 # XXX: At a quick glance, the code in SuffUpdateTarget looks as if it were
 # possible to delete the suffixes in the middle of the makefile, add back

Reply via email to