Subject: Re: PKGMANDIR
To: NetBSD Packages Technical Discussion List <>
From: Roland Illig <>
List: tech-pkg
Date: 10/09/2007 22:17:06
Johnny C. Lam wrote:
> I guess pkglint could complain about seeing "man" in the package 
> Makefile and recommending to use ${PKGMANDIR} instead.  I'm not sure 
> exactly how that would work, but if anyone can find a way, I'm positive 
> that Roland can :-)

There already is some code:

if ($shellword =~ qr"\$\{PREFIX\}/man(?:$|/)") {
      $line->log_warning("Please use \${PKGMANDIR} instead of \"man\".");

Just tell me where you want a warning (package, file), and I'll generate 
one. :)