pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk/help



Module Name:    pkgsrc
Committed By:   rillig
Date:           Sun Apr 28 12:10:24 UTC 2019

Modified Files:
        pkgsrc/mk/help: help.awk

Log Message:
mk/help: do not provide help for topics starting with underscore

These are reserved for the pkgsrc infrastructure.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/mk/help/help.awk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/help/help.awk
diff -u pkgsrc/mk/help/help.awk:1.32 pkgsrc/mk/help/help.awk:1.33
--- pkgsrc/mk/help/help.awk:1.32        Sun Mar  3 16:47:58 2019
+++ pkgsrc/mk/help/help.awk     Sun Apr 28 12:10:24 2019
@@ -1,4 +1,4 @@
-# $NetBSD: help.awk,v 1.32 2019/03/03 16:47:58 rillig Exp $
+# $NetBSD: help.awk,v 1.33 2019/04/28 12:10:24 rillig Exp $
 #
 
 # This program extracts the inline documentation from *.mk files.
@@ -172,7 +172,7 @@ NF >= 1 && !/^[\t.]/ && !/^#*$/ && !/^#\
                # Words in mixed case are not taken as keywords. If you
                # want them anyway, list them in a "Keywords:" line.
 
-       } else if (w !~ /^[_A-Za-z][-0-9A-Z_a-z]*[0-9A-Za-z](:|\?=|=)?$/) {
+       } else if (w !~ /^[A-Za-z][-0-9A-Z_a-z]*[0-9A-Za-z](:|\?=|=)?$/) {
                # Keywords must consist only of letters, digits, hyphens
                # and underscores; except for some trailing type specifier.
 



Home | Main Index | Thread Index | Old Index