Subject: Re: simplifying an installation of examples and doc files
To: Roland Illig <>
From: Ignatios Souvatzis <>
List: tech-pkg
Date: 10/22/2007 11:39:13
On Sun, Oct 21, 2007 at 11:41:46PM +0200, Roland Illig wrote:

> I tried to trade-off complexity for generality. I don't think the following 
> lines are hard to understand:
> INST_GROUPS+=       docs
>     doc
>    *.html
>       share/doc/${PKGNAME}
> Well, ok, compared to the explicit command
> cd ${WRKSRC}/doc \
> && ${INSTALL_DATA} *.html ${DESTDIR}${PREFIX}/share/doc/${PKGNAME}/.
> it may be pretty verbose. I thought I could remove some of the redundancy 
> (WRKSRC, DESTDIR, PREFIX), but now I think I only made it worse.

well, the second form would make it possible to auto-generate (part of) 
the PLIST file, wouldn't it?

seal your e-mail: