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 tests/make: refine documentation of ...



details:   https://anonhg.NetBSD.org/src/rev/7ab5ba4e0437
branches:  trunk
changeset: 365695:7ab5ba4e0437
user:      rillig <rillig%NetBSD.org@localhost>
date:      Mon Apr 18 14:41:42 2022 +0000

description:
tests/make: refine documentation of test for .USEBEFORE

diffstat:

 usr.bin/make/unit-tests/depsrc-usebefore.mk |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r ed572304392f -r 7ab5ba4e0437 usr.bin/make/unit-tests/depsrc-usebefore.mk
--- a/usr.bin/make/unit-tests/depsrc-usebefore.mk       Mon Apr 18 14:38:24 2022 +0000
+++ b/usr.bin/make/unit-tests/depsrc-usebefore.mk       Mon Apr 18 14:41:42 2022 +0000
@@ -1,11 +1,13 @@
-# $NetBSD: depsrc-usebefore.mk,v 1.8 2022/04/18 14:38:24 rillig Exp $
+# $NetBSD: depsrc-usebefore.mk,v 1.9 2022/04/18 14:41:42 rillig Exp $
 #
 # Tests for the special source .USEBEFORE in dependency declarations,
 # which allows to prepend common commands to other targets.
 #
-# If a target depends on several .USE or .USEBEFORE targets, the commands get
-# appended in declaration order.  For .USE targets, this is the expected
-# order, for .USEBEFORE targets the order is somewhat reversed.
+# If a target depends on several .USE or .USEBEFORE nodes, the commands get
+# appended or prepended in declaration order.  For .USE nodes, this is the
+# expected order, for .USEBEFORE nodes the order is somewhat reversed, and for
+# .USE or .USEBEFORE nodes that depend on other .USE or .USEBEFORE nodes, it
+# gets even more complicated.
 #
 # See also:
 #      .USE



Home | Main Index | Thread Index | Old Index