Re: Why switch to src/dist?

Simon Burge <[email protected]>
Newsgroups gmane.os.netbsd.devel.general
Organization Wasabi Systems, Inc.
Message-ID <[email protected]>
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                                   <[email protected]>
NetBSD Development, Support and Service:   http://www.wasabisystems.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.