Subject: Re: INSTALL_DOCS for bsd.pkg.defaults.mk
To: None <tech-pkg@netbsd.org>
From: Jan Schaumann <jschauma@netmeister.org>
List: tech-pkg
Date: 06/03/2003 16:37:18
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

For example.

-Jan

-- 
"When it's fall in New York, the air smells as if someone's been frying
goats in it, and if you are keen to breathe the best plan is to open a
window and stick your head in a building."