Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/make make: document how read-only variables can be m...



details:   https://anonhg.NetBSD.org/src/rev/ca67c8018d77
branches:  trunk
changeset: 373866:ca67c8018d77
user:      rillig <rillig%NetBSD.org@localhost>
date:      Thu Mar 09 07:06:43 2023 +0000

description:
make: document how read-only variables can be made read-write

diffstat:

 usr.bin/make/make.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r f5d0dfc5235f -r ca67c8018d77 usr.bin/make/make.h
--- a/usr.bin/make/make.h       Thu Mar 09 06:49:37 2023 +0000
+++ b/usr.bin/make/make.h       Thu Mar 09 07:06:43 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: make.h,v 1.317 2023/02/18 11:16:09 rillig Exp $        */
+/*     $NetBSD: make.h,v 1.318 2023/03/09 07:06:43 rillig Exp $        */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -968,7 +968,8 @@
 
        /*
         * Make the variable read-only. No further modification is possible,
-        * except for another call to Var_Set with the same flag.
+        * except for another call to Var_Set with the same flag. See the
+        * special targets '.NOREADONLY' and '.READONLY'.
         */
        VAR_SET_READONLY        = 1 << 1
 } VarSetFlags;



Home | Main Index | Thread Index | Old Index