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
commit4dd383ef61ff6e3b667191b9a97aa5ba7162a5bc (patch)
treeae89956270464a0e72f9207acd0ff2f2627b69f2 /mk
parent0d40bfc141dd18fbdaea248b9e14889d6c538d57 (diff)
downloadpkgsrc-4dd383ef61ff6e3b667191b9a97aa5ba7162a5bc.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);