On 04/09/11 04:57, Amit Kulkarni wrote: > hi, > > how do i redirect a compile of xenocara to say /scratch? i can do that > easily for userland using > > cd /usr/src/etc && env DESTDIR=/scratch make distrib-dirs > > i don't want to fiddle too much like changing X11BASE X11ETC just a > simple way to do it. > > thanks > > Hi,
The same way, see FAQ 5.5 Making a release. This cd /usr/src/etc && env DESTDIR=/scratch make distrib-dirs only creates the directory structure under /scratch and doesn't compile userland into /scratch. Did you miss the rest out? Compile still goes to /usr/obj or /usr/xobj, what you are possibly referring to is the install part of the build which takes the compiled from /usr/obj /usr/xorg and installs into the correct location, the install uses DESTDIR see man release(8). Regards Nigel Taylor

