pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/help Some variable definitions in mk/defaults/mk.co...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d5b0b0ef9a62
branches: trunk
changeset: 524220:d5b0b0ef9a62
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Jan 21 10:00:34 2007 +0000
description:
Some variable definitions in mk/defaults/mk.conf have only one word in
the line where the variable name appears.
diffstat:
mk/help/help.awk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 99221fc74ef1 -r d5b0b0ef9a62 mk/help/help.awk
--- a/mk/help/help.awk Sun Jan 21 04:39:14 2007 +0000
+++ b/mk/help/help.awk Sun Jan 21 10:00:34 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: help.awk,v 1.10 2007/01/14 16:42:37 rillig Exp $
+# $NetBSD: help.awk,v 1.11 2007/01/21 10:00:34 rillig Exp $
#
# This program extracts the inline documentation from *.mk files.
@@ -87,7 +87,7 @@
# be all-lowercase (make targets) or all-uppercase (variable names).
# Everything else is assumed to belong to the explaining text.
#
-NF >= 2 {
+NF >= 1 {
w1 = ($1 == tolower($1)) ? toupper($1) : $1;
w2 = ($2 == tolower($2)) ? toupper($2) : $2;
Home |
Main Index |
Thread Index |
Old Index