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: fix documentation of .MA...
details: https://anonhg.NetBSD.org/src/rev/cb565fff280a
branches: trunk
changeset: 1026739:cb565fff280a
user: rillig <rillig%NetBSD.org@localhost>
date: Sun Dec 05 10:02:51 2021 +0000
description:
tests/make: fix documentation of .MAKE.SAVE_DOLLARS
diffstat:
usr.bin/make/unit-tests/varmisc.mk | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 17b3ff812622 -r cb565fff280a usr.bin/make/unit-tests/varmisc.mk
--- a/usr.bin/make/unit-tests/varmisc.mk Sun Dec 05 09:53:15 2021 +0000
+++ b/usr.bin/make/unit-tests/varmisc.mk Sun Dec 05 10:02:51 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: varmisc.mk,v 1.31 2021/11/30 23:52:19 rillig Exp $
+# $NetBSD: varmisc.mk,v 1.32 2021/12/05 10:02:51 rillig Exp $
#
# Miscellaneous variable tests.
@@ -83,7 +83,9 @@
SD_4_DOLLARS= $$$$
.for val in ${SD_VALUES}
-.MAKE.SAVE_DOLLARS:= ${val} # Must be := since a simple '=' has no effect.
+# The assignment must be done using ':=' since a simple '=' would be
+# interpreted as 'yes', due to the leading '$'; see ParseBoolean.
+.MAKE.SAVE_DOLLARS:= ${val}
SD.${val}:= ${SD_4_DOLLARS}
.endfor
.MAKE.SAVE_DOLLARS:= yes
Home |
Main Index |
Thread Index |
Old Index