Subject: CVS commit: pkgsrc/pkgtools/pkglint/files
To: None <pkgsrc-changes@NetBSD.org>
From: Roland Illig <rillig@netbsd.org>
List: pkgsrc-changes
Date: 12/01/2005 13:40:39
Module Name:	pkgsrc
Committed By:	rillig
Date:		Thu Dec  1 13:40:39 UTC 2005

Modified Files:
	pkgsrc/pkgtools/pkglint/files: pkglint.pl

Log Message:
- Improved coverage of Makefile checks. Now every line of a Makefile or a
  *.mk file is checked.
- Added warnings for unusual make targets. Everything except the usual
  {pre,do,post}-* targets is considered unusual. Exceptions may be declared
  in the Makefile using ".PHONY".
- The directives are checked to contain arguments if and only if needed.
- The .ifndef and .ifdef directives are marked as deprecated because
  the parsing algorithm of NetBSD's make is so bad that it cannot
  distinguish ".if" from ".ifdef".
- Added notes whenever ".undef" is used with a variable that had been used
  in a ".for" loop before. Undefining the variable is simply unnecessary.


To generate a diff of this commit:
cvs rdiff -r1.400 -r1.401 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.