Subject: CVS commit: pkgsrc/pkgtools/pkglint
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 11/14/2005 12:32:58
Module Name: pkgsrc
Committed By: rillig
Date: Mon Nov 14 12:32:58 UTC 2005
Modified Files:
pkgsrc/pkgtools/pkglint: TODO
pkgsrc/pkgtools/pkglint/files: pkglint.pl
Log Message:
The readmakefile() subroutine only returns the lines of the main Makefile
in the $all_lines parameter, but the whole text of the included files in
the $whole parameter.
This change avoids duplicate diagnostics for *.mk and Makefile* in the
package directory. A side effect is that package authors only get the
diagnostics they can probably fix, as diagnostics from included files are
not given.
To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 pkgsrc/pkgtools/pkglint/TODO
cvs rdiff -r1.354 -r1.355 pkgsrc/pkgtools/pkglint/files/pkglint.pl
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.