summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-21 10:00:34 +0000
committerrillig <rillig@pkgsrc.org>2007-01-21 10:00:34 +0000
commit2380626e42914d02017e703cccfae543758b5c2c (patch)
tree9867552dee540a5e8323aeaa9cc04b6ee41195db /mk
parent28bd07aa19c9ea2d800c1cf128acd60b92f886f6 (diff)
downloadpkgsrc-2380626e42914d02017e703cccfae543758b5c2c.tar.gz
Some variable definitions in mk/defaults/mk.conf have only one word in
the line where the variable name appears.
Diffstat (limited to 'mk')
-rw-r--r--mk/help/help.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/help/help.awk b/mk/help/help.awk
index 4cb5f97b676..219bcaa9bf3 100644
--- a/mk/help/help.awk
+++ b/mk/help/help.awk
@@ -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 @@ always {
# 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;