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.11 retrieving revision 1.12.2.2 diff -u -p -r1.11 -r1.12.2.2 --- src/BUILDING 2002/05/03 08:59:13 1.11 +++ src/BUILDING 2003/12/24 04:52:17 1.12.2.2 @@ -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- @@ -479,6 +479,8 @@ BUILDING -D dest Set the value of DESTDIR to dest. + -M obj Set MAKEOBJDIRPREFIX to obj. + -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 @@ -505,6 +507,33 @@ 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