summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2007-01-21 10:00:34 +0000
committerrillig <rillig>2007-01-21 10:00:34 +0000
commit2fa471f858caf81fb418a174beb757974aecf8d5 (patch)
tree9867552dee540a5e8323aeaa9cc04b6ee41195db /mk
parent7348ed5f61ef63fe49c1d518f243a999e037b808 (diff)
downloadpkgsrc-2fa471f858caf81fb418a174beb757974aecf8d5.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;