summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2008-02-20 10:42:21 +0000
committerrillig <rillig>2008-02-20 10:42:21 +0000
commit66844923176da01099df67606ae2344a661f4106 (patch)
treeae89956270464a0e72f9207acd0ff2f2627b69f2 /mk
parent2dd360bf81f08f0a2913b9c57ccd432ecc74a69d (diff)
downloadpkgsrc-66844923176da01099df67606ae2344a661f4106.tar.gz
Eliminated a needless check.
Diffstat (limited to 'mk')
-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);