pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/help Also accept ordinary variable definitions as d...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ddf31018a155
branches: trunk
changeset: 523161:ddf31018a155
user: rillig <rillig%pkgsrc.org@localhost>
date: Tue Jan 02 22:54:54 2007 +0000
description:
Also accept ordinary variable definitions as defining lines for a help
topic.
diffstat:
mk/help/help.awk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 61811e516d2f -r ddf31018a155 mk/help/help.awk
--- a/mk/help/help.awk Tue Jan 02 22:27:44 2007 +0000
+++ b/mk/help/help.awk Tue Jan 02 22:54:54 2007 +0000
@@ -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 @@
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 &&
Home |
Main Index |
Thread Index |
Old Index