Subject: Re: simplifying an installation of examples and doc files
To: None <>
From: Roland Illig <>
List: tech-pkg
Date: 10/22/2007 11:50:24
Ignatios Souvatzis wrote:
> 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?

If you mean, 
that won't be done (see the numerous follow-ups).

The print-PLIST target would work with both forms.