summaryrefslogtreecommitdiff
path: root/mk/help
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-01-02 22:54:54 +0000
committerrillig <rillig@pkgsrc.org>2007-01-02 22:54:54 +0000
commit7f93ba8430af07b3735a127b0b398a47299c21c2 (patch)
treefd8280a63f4f287a41c537ff9dc5a81af17490ba /mk/help
parente68e0d458e0c5d2d91ca7932e7218e2295f401d1 (diff)
downloadpkgsrc-7f93ba8430af07b3735a127b0b398a47299c21c2.tar.gz
Also accept ordinary variable definitions as defining lines for a help
topic.
Diffstat (limited to 'mk/help')
-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 528229fa88b..6c1ff6993ca 100644
--- a/mk/help/help.awk
+++ b/mk/help/help.awk
@@ -1,4 +1,4 @@
-# $NetBSD: help.awk,v 1.3 2007/01/02 17:22:30 rillig Exp $
+# $NetBSD: help.awk,v 1.4 2007/01/02 22:54:54 rillig Exp $
#
# This program extracts the inline documentation from *.mk files.
@@ -53,7 +53,7 @@ NF >= 2 {
w1 = ($1 == tolower($1)) ? toupper($1) : $1;
w2 = ($2 == tolower($2)) ? toupper($2) : $2;
- if ((w1 == uctopic"?=") ||
+ if ((w1 == uctopic"?=") || (w1 == uctopic"=") ||
(index(w1, "#"uctopic"=") == 1) ||
(index(w1, "#"uctopic"?=") == 1) ||
(w1 == "#" && last_line_was_empty &&