pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/check mk/check/check-portability: document why *.am...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2c135fd917d6
branches:  trunk
changeset: 412761:2c135fd917d6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Mar 11 23:59:27 2020 +0000

description:
mk/check/check-portability: document why *.am and *.in must be checked

Thanks gdt for noticing this.

diffstat:

 mk/check/check-portability.sh |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r f645e8fbb969 -r 2c135fd917d6 mk/check/check-portability.sh
--- a/mk/check/check-portability.sh     Wed Mar 11 23:50:05 2020 +0000
+++ b/mk/check/check-portability.sh     Wed Mar 11 23:59:27 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: check-portability.sh,v 1.12 2020/03/11 22:30:59 rillig Exp $
+# $NetBSD: check-portability.sh,v 1.13 2020/03/11 23:59:27 rillig Exp $
 #
 # This program checks all files in the current directory and any
 # subdirectories for portability issues that are likely to result in
@@ -45,6 +45,10 @@
 
                ext="${fname##*.}"
                case "$ext" in
+               # A few file extensions cannot be skipped since the Makefiles
+               # will be generated from these, in the configure stage, which
+               # is run later.
+               (am|in)                                                 ;;
                # echo */*/PLIST | xargs cat | sed s,'.*\.',, | sort | uniq -c | sort -nr | sed 40q
                (png|html|svg|py|h|mo|php|js|xml|rb|go|txt|3|hpp)       continue ;;
                (tfm|gif|dtd|properties|json|ogg|gz|test|result|xpm|po) continue ;;



Home | Main Index | Thread Index | Old Index