Subject: Re: Quiz: what does PKG_MISC_TARGETS do?
To: Johnny C. Lam <jlam@NetBSD.org>
From: Stoned Elipot <email@example.com>
Date: 08/31/2005 21:36:31
But in anycase PKG_MISC_TARGETS is quite handy.
I often write ad hoc targets rules in files included via mk.conf that I use
from pkgsrc/ or pkgsrc/category.
On Sat, Aug 06, 2005 at 08:12:11PM +0000, Johnny C. Lam wrote:
> On Sat, Aug 06, 2005 at 09:50:50PM +0200, Roland Illig wrote:
> > Has anyone ever gone into pkgsrc/benchmarks and done "bmake benchmark"
> > or "bmake results" there? If not, we can drop the PKG_MISC_TARGETS
> > variable, as this is the only place where it appears.
> > I stumbled upon it while applying the strictest checks I can think of to
> > category Makefiles.
> That variable could afford to be better named. You could rewrite that
> part of bsd.pkg.subdir.mk so that it uses a PKG_RECURSIVE_TARGETS or
> PKG_SUBDIR_TARGETS variable instead.
> -- Johnny Lam <jlam@NetBSD.org>