Subject: Re: 'readline.h' not installed
To: Markus Kilbinger <kilbi@rad.rwth-aachen.de>
From: Simon Burge <simonb@netbsd.org>
List: current-users
Date: 03/01/2000 11:13:08
Bill Studenmund wrote:
> On Tue, 29 Feb 2000, Markus Kilbinger wrote:
>
> > >>>>> "Simon" == Simon Burge <simonb@NetBSD.ORG> writes:
> >
> > that seems to be the most reasonable way for my plan, then. That
> > means:
> >
> > I do a 'make DESTDIR=/usr/tmp/netbsd-build' for example and find all
> > the stuff, normally installed to '/' in '/usr/tmp/netbsd-build/?
>
> Exactly. Everything will be under $DESTDIR. I actually don't do
> non-DESTDIR builds. :-) Among other things, you're less likely to have a
> build corrupt your system. Since your main headers aren't touched, if
> there's a problem with the new stuff, they are unaffected.
>
> > But how to create the different distrib files (base.tgz etc.) out of
> > this build?
>
> (I use setenv DESTDIR rather than setting it on the make line).
>
> setenv DESTDIR /usr/tmp/netbsd-build
> setenv RELEASEDIR /usr/tmp/netbsd-release
>
> cd /your/source/etc (the etc subdirectory)
>
> make release or
> make snapshot
>
> The tar balls and install kernels and boot floppies will then get built,
> and put in RELEASEDIR (in the format you see on the ftp server :-)
Note that if you haven't already run a "make build", you can do
_everything_ including the build with:
cd /your/source
make release
> > Is the 'xsrc' tree handled in the same way for build and creating the
> > distrib files?
>
> Unsure.
I know there has been recent changes to the xsrc makefiles, but I
haven't had a chance to look at them yet. My crib-sheet for making
a release has:
cd /.../xsrc
make clean
make build
cd /.../src/distrib/sets
sh maketars -x11 -tars $RELEASEDIR/binary/sets
Fred - do you have any comments on the new xsrc build mechanism? I'd
love to update my notes :-)
Simon.