On 11/27/05, Tushar Teredesai <[EMAIL PROTECTED]> wrote: > On 11/27/05, Tushar Teredesai <[EMAIL PROTECTED]> wrote: > > Disadvantages: > > * It makes the instructions slightly more complex. > > * Causes problems for folks who don't want a package manager. > > Actually, we can do what Greg has done. He uses TT_PFX as the DESTDIR > and instead of make install, he does make DESTDIR=$TT_PFX install. > Someone who does not want to use the DESTDIR approach can just unset > TT_PFX and the installation will be as normal.
Actually, you have that a bit backwards. TT_PFX is the variable Greg uses for /tools or whatever. You're thinking of PM_DEST, the variable where the package manager root is set. So that's make DESTDIR=$PM_DEST install But, yeah, store the variable, whatever. Don't want to use package management, don't set PM_DEST. Not a bad idea, but it clutters the installation instructions, increasing the chance for newbie errors. -1 still, but I certainly like this a lot better than installing files with 30 different owners. Go look at the instructions for say, zlib or bzip2, and tell me you wouldn't expect an error if every install line had one or more references to $PM_DEST? -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page