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 Oct 12 16:24:28 UTC 2025

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

Log Message:
mk/help: search the topic case-insensitively in the files

Previously, 'make help topic=pkg_path' and 'make help topic=PKG_PATH'
differed in the list of file where the topic occurs.

Noticed by Ramiro Aceves in:
https://mail-index.netbsd.org/pkgsrc-users/2025/10/12/msg042073.html


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 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.44 pkgsrc/mk/help/help.awk:1.45
--- pkgsrc/mk/help/help.awk:1.44        Sat May 20 16:14:07 2023
+++ pkgsrc/mk/help/help.awk     Sun Oct 12 16:24:28 2025
@@ -1,4 +1,4 @@
-# $NetBSD: help.awk,v 1.44 2023/05/20 16:14:07 rillig Exp $
+# $NetBSD: help.awk,v 1.45 2025/10/12 16:24:28 rillig Exp $
 #
 
 # This program extracts the inline documentation from *.mk files.
@@ -236,7 +236,7 @@ eval_this_line && $1 == "#" {
        end_of_topic();
 }
 
-index(tolower($0), topic) != 0 {
+index(tolower($0), lctopic) != 0 {
        all_occurrences[FILENAME] = yes;
 }
 



Home | Main Index | Thread Index | Old Index