Subject: Re: Why switch to src/dist?
To: Jeremy C. Reed <reed@reedmedia.net>
From: Simon Burge <simonb@wasabisystems.com>
List: tech-misc
Date: 08/03/2002 15:20:37
On Fri, Aug 02, 2002 at 10:14:20PM -0700, Jeremy C. Reed wrote:

> A cvs message for basesrc/usr.sbin/tcpdump/Makefile said:
> 
>    switch to use src/dist/tcpdump.  source code has been checked and the
>    new tree organization should give the same (or more) decoding
>    functionalities.
> 
> How does the dist tree organization help?
> 
> (I am just curious.)

The usual reason for putting something in src/dist is when we have
third party-maintained software that is built from multiple source
tree directories.  It's a lot easier to import new versions of the
software into one place rather than scatter it around the source
tree.

For example, src/dist/bzip2 is the source for both the bzip2 library
(built in src/lib/libbz2) and the bzip2 and bzip2recover programs
(built in src/usr.bin/bzip2 and src/usr.bin/bzip2recover).

Simon.
--
Simon Burge                                   <simonb@wasabisystems.com>
NetBSD Development, Support and Service:   http://www.wasabisystems.com/