pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/help Keywords may be separated by commas.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8134b066ace2
branches:  trunk
changeset: 529424:8134b066ace2
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Jun 04 08:11:07 2007 +0000

description:
Keywords may be separated by commas.

diffstat:

 mk/help/help.awk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r bebe40aacd57 -r 8134b066ace2 mk/help/help.awk
--- a/mk/help/help.awk  Mon Jun 04 08:10:32 2007 +0000
+++ b/mk/help/help.awk  Mon Jun 04 08:11:07 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: help.awk,v 1.14 2007/05/24 05:29:06 rillig Exp $
+# $NetBSD: help.awk,v 1.15 2007/06/04 08:11:07 rillig Exp $
 #
 
 # This program extracts the inline documentation from *.mk files.
@@ -70,7 +70,7 @@
 ($1 == "#" && $2 == "Keywords:") {
        for (i = 3; i <= NF; i++) {
                w = ($i == toupper($i)) ? tolower($i) : $i;
-               if (w == lctopic) {
+               if (w == lctopic || w == lctopic",") {
                        relevant = yes;
                }
        }



Home | Main Index | Thread Index | Old Index