Install docs oddity

Bruce A. Mah bmah at freebsd.org
Fri Nov 3 20:40:33 UTC 2006


If memory serves me right, Szilveszter Adam wrote:

> On Fri, Nov 03, 2006 at 05:43:09AM -0500, Tom Rhodes wrote:
>> I'm surprised that we haven't noticed this sooner ...
> 
> In fact, I have. It was fairly annoying at the time too, because I had a
> somewhat slower machine, so it really cost time.

I'm glad someone else besides me has seen this.

I noticed this on my 1GHz P-III.  :-p

> Since then, I made it a
> habit to use the "NO_SUBDIR=yes" env var when installing from the doc
> tree. This is AFAIR due to the fact that there are really two functions
> defined in two places (two files) that do the same thing (iterate over
> the subdirs) but run independently from each-other. (One seems to be in
> bsd.subdir.mk, the other probably in bsd.subdir.mk, but I am not entirely

One of those "bsd.subdir.mk" should "doc.subdir.mk".

> sure) So, we need to get rid of one of them after a taking a long hard
> look so that nothing breaks. (The one in doc.subdir.mk seems to be used
> for building doc packages for the ftp server.) 

Did you take a look at my patch?  I don't get rid of the loop in
doc.subdir.mk, but I make it not get get invoked by the install target.
 I think this should leave package building unaffected but I confess to
not having tested this.

Bruce.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20061103/c8cdfaf5/attachment.sig>


More information about the freebsd-doc mailing list