Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make/unit-tests make(1): make output of test suff-re...



details:   https://anonhg.NetBSD.org/src/rev/75c0313c0817
branches:  trunk
changeset: 957164:75c0313c0817
user:      rillig <rillig%NetBSD.org@localhost>
date:      Sat Nov 21 08:51:57 2020 +0000

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

diffstat:

 usr.bin/make/unit-tests/suff-rebuild.exp |   8 ++++----
 usr.bin/make/unit-tests/suff-rebuild.mk  |  10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diffs (41 lines):

diff -r 649ce207eb41 -r 75c0313c0817 usr.bin/make/unit-tests/suff-rebuild.exp
--- a/usr.bin/make/unit-tests/suff-rebuild.exp  Sat Nov 21 08:23:36 2020 +0000
+++ b/usr.bin/make/unit-tests/suff-rebuild.exp  Sat Nov 21 08:51:57 2020 +0000
@@ -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
diff -r 649ce207eb41 -r 75c0313c0817 usr.bin/make/unit-tests/suff-rebuild.mk
--- a/usr.bin/make/unit-tests/suff-rebuild.mk   Sat Nov 21 08:23:36 2020 +0000
+++ b/usr.bin/make/unit-tests/suff-rebuild.mk   Sat Nov 21 08:51:57 2020 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index