pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/help Eliminated a needless check.
details: https://anonhg.NetBSD.org/pkgsrc/rev/58829d2bc5a5
branches: trunk
changeset: 538868:58829d2bc5a5
user: rillig <rillig%pkgsrc.org@localhost>
date: Wed Feb 20 10:42:21 2008 +0000
description:
Eliminated a needless check.
diffstat:
mk/help/help.awk | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (22 lines):
diff -r 696933b50c5c -r 58829d2bc5a5 mk/help/help.awk
--- a/mk/help/help.awk Wed Feb 20 10:40:42 2008 +0000
+++ b/mk/help/help.awk Wed Feb 20 10:42:21 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: help.awk,v 1.24 2008/02/20 10:40:42 rillig Exp $
+# $NetBSD: help.awk,v 1.25 2008/02/20 10:42:21 rillig Exp $
#
# This program extracts the inline documentation from *.mk files.
@@ -146,10 +146,8 @@
} else if (w == toupper(w) && w ~ /:$/) {
# Upper-case words ending with a colon are probably not
- # make targets, so ignore them.
-
- } else if (w ~ /^(FIXME|TODO|XXX):?$/) {
- # These are not keywords.
+ # make targets, so ignore them. Common cases are tags
+ # like FIXME and TODO.
} else {
sub(/^#[ \t]*/, "", w);
Home |
Main Index |
Thread Index |
Old Index