Subject: Re: INSTALL_DOCS for bsd.pkg.defaults.mk
To: None <tech-pkg@netbsd.org>
From: Alistair Crooks <agc@wasabisystems.com>
List: tech-pkg
Date: 06/04/2003 16:23:17
On Tue, Jun 03, 2003 at 04:37:18PM -0400, Jan Schaumann wrote:
> Alistair Crooks <agc@wasabisystems.com> wrote:
> > On Tue, Jun 03, 2003 at 03:40:13PM -0400, Jan Schaumann wrote:
> > > Extensive documentation (often in form of HTML docs) is often available
> > > for several packages, but not everybody may want to install it.  Rather
> > > than creating variables for each package, should we create a variable
> > > that can be set to, say, "all", "html", "pdf", "ps" or some combination
> > > so that packages can check that variable?
> > 
> > And manipulate the PLISTS... how, exactly?
> 
> .if ${INSTALL_DOCS:Mhtml}
> PLIST_SRC+=	${WRKSRC}/PLIST.html
> .endif

Yup, that sounds good to me, in principle (although I think I'd
s/WRKSRC/FILESDIR/, since it's more than likely that we're managing
the PLIST.html file)

Thanks,
Alistair