Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/BUILDING,v rcsdiff: /ftp/cvs/cvsroot/src/BUILDING,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.12.2.2 retrieving revision 1.14 diff -u -p -r1.12.2.2 -r1.14 --- src/BUILDING 2003/12/24 04:52:17 1.12.2.2 +++ src/BUILDING 2002/09/17 16:35:39 1.14 @@ -346,7 +346,7 @@ BUILDING actually execute them. This will still cause recursion to take place. - -V var Print make(1)'s idea of the value of var. Does not build any + -v var Print make(1)'s idea of the value of var. Does not build any targets. var=value Set the variable var to value, overriding any setting speci- @@ -382,6 +382,9 @@ BUILDING fore any system libraries or programs can be built. install Install programs, libraries, and documentation into DESTDIR. + Few files will be installed to /dev, /etc, /root or /var in + order to prevent user supplied configuration data from being + overwritten. lint Run lint(1) against the C source code, where appropriate, and generate system-installed lint libraries. @@ -440,10 +443,10 @@ BUILDING -b Bootstrap ``make'' and create a nbmake-MACHINE script (see be- low). - -d Build a full distribution. This differs from a normal build in - that etc files will also be installed. Note this does not - build a ``release''; no release sets are placed in ${RE- - LEASEDIR}. + -d Build a full distribution. This differs from a default build + in that files will also be installed to /dev, /etc, /root and + /var. Note this does not build a ``release''; no release sets + are placed in ${RELEASEDIR}. -d is implied by -R. -j njob Passed through to make(1). Makefiles should use .WAIT or have explicit dependancies as necessary to enforce build ordering. @@ -483,7 +486,7 @@ BUILDING -O obj Create an appropriate transform macro for MAKEOBJDIR that will place the built object files under obj. For instance, a set- - ting of /usr/obj will place build-time files files under + ting of /usr/obj will place build-time files under /usr/obj/bin, /usr/obj/lib, and so forth. -R rel Set the value of RELEASEDIR to rel. Setting this option will @@ -507,33 +510,6 @@ BUILDING This script can be symlinked into a directory listed in PATH, or called with an absolute path. -EXAMPLES - 1. % ./build.sh -U - - Using unprivileged mode, build a complete distribution to a DESTDIR - directory that build.sh selects (and will display). - - 2. # ./build.sh -U -d -D / - - As root, install to / a complete distribution. Even though this is - run as root, -U is required so that the permissions stored in - DESTDIR/METALOG are correctly applied to the files as they're copied - to /. - - 3. % ./build.sh -U -u -R - - Using unprivileged mode, build a complete release to a DESTDIR di- - rectory that build.sh selects (and will display), and to a user - specified RELEASEDIR. MKUPDATE=yes (-u) is set to prevent the - ``make cleandir'', so that if this is run after example 1, it - doesn't need to redo that portion of the release build. - - 4. % ./build.sh -t - - Perform a build that builds and installs the cross tools only. These - are installed into a TOOLDIR directory that build.sh selects (and - will display). - OBSOLETE VARIABLES NBUILDJOBS Now obsolete. Use the make(1) option -j, instead. @@ -547,4 +523,4 @@ HISTORY BUGS A few platforms are not yet using the USE_NEW_TOOLCHAIN system. -NetBSD Dec 23, 2003 9 +NetBSD May 3, 2002 8