diff options
author | rillig <rillig@pkgsrc.org> | 2008-02-20 10:42:21 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2008-02-20 10:42:21 +0000 |
commit | d63608279ef1be798aea1b36d66ff38aa1a7c050 (patch) | |
tree | ae89956270464a0e72f9207acd0ff2f2627b69f2 /mk/help/help.awk | |
parent | 739578d240172d7ba203d1860b2f3e287cdc5f03 (diff) | |
download | pkgsrc-d63608279ef1be798aea1b36d66ff38aa1a7c050.tar.gz |
Eliminated a needless check.
Diffstat (limited to 'mk/help/help.awk')
-rw-r--r-- | mk/help/help.awk | 8 |
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); |