Module Name:    src
Committed By:   rillig
Date:           Thu Mar  9 07:06:43 UTC 2023

Modified Files:
        src/usr.bin/make: make.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.317 -r1.318 src/usr.bin/make/make.h

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/make.h
diff -u src/usr.bin/make/make.h:1.317 src/usr.bin/make/make.h:1.318
--- src/usr.bin/make/make.h:1.317	Sat Feb 18 11:16:09 2023
+++ src/usr.bin/make/make.h	Thu Mar  9 07:06:43 2023
@@ -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 @@ typedef enum VarSetFlags {
 
 	/*
 	 * 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;

Reply via email to