On Thursday 19 December 2002 02:06 pm, Dominic Duval wrote: > Hi, > > I don't know if I'm missing something here, but I"ve > been unable to find how I can change the root > directory where everything is installed when I do a > Make install. > > Basically, I'm looking for a way to define where the / > directory is located. I need this to cross-compile X, > so I don't want to replace my native X-related files > with the cross-compiled ones. >
If you want to put a prefix to the installation, you can do: make DESTDIR=<your_prefix> install install.man This is the way used to make packages (at least RPMs, to put the build in a temp directory so it don't mess your current XFree86 installation). Then you can tar the directory structure under <your_prefix> and move it to another computer. The structure of X directories is left untouch (/usr/X11R6/bin, /usr/X11R6/lib, ...). Or, if you want to define another root to the installation (maybe to have two versions of XFree86), you must define ProjectRoot in the build configuration (I use host.def, look the INSTALL-X.org file and the comments in xc/config/cf): #define ProjectRoot /usr/local/X11R6 I think that the first aproach is want you want. - Davor _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert