summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2008-02-20 10:42:21 +0000
committerrillig <rillig@pkgsrc.org>2008-02-20 10:42:21 +0000
commitd63608279ef1be798aea1b36d66ff38aa1a7c050 (patch)
treeae89956270464a0e72f9207acd0ff2f2627b69f2
parent739578d240172d7ba203d1860b2f3e287cdc5f03 (diff)
downloadpkgsrc-d63608279ef1be798aea1b36d66ff38aa1a7c050.tar.gz
Eliminated a needless check.
-rw-r--r--mk/help/help.awk8
1 files changed, 3 insertions, 5 deletions
diff --git a/mk/help/help.awk b/mk/help/help.awk
index f2f92ff99f3..efb29454db7 100644
--- a/mk/help/help.awk
+++ b/mk/help/help.awk
@@ -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 @@ NF >= 1 && !/^[\t.]/ && !/^#*$/ {
} 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);