openbsd.org/faq/faq5.html#BldUserland - env DESTDIR="" make build

MERIGHI Marcus <[email protected]>
Newsgroups gmane.os.openbsd.www
Message-ID <[email protected]>
Hello www@ (nick?), 

under 5.3.5 (http://www.openbsd.org/faq/faq5.html#BldUserland), 
it says 
<bullet> Build the system:
# cd /usr/src
# make build

and should read
<bullet> Build the system:
# cd /usr/src
# env DESTDIR="" make build

according to my experience. I created a script to run cvs/build/release
and had 
# export DESTDIR="/usr/dest" right at the top, which leads to the above
"make build" to fail. I have no idea whether DESTDIR="" is correct, but
make build works this way (again).

the use of env DESTDIR is documented only for the release process, in
faq5 as well as in release(8). 

the only hint would be 
# cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
which could lead the considerate reader (apparently not me :) to
recognise its use in the userland build process. 

Bye, 

Max
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.