On Friday, August 28, 2009, Fons Adriaensen wrote:
To install into a e.g. a home directory a user would
have to modify
$PREFIX, not $DESTDIR.
Unless he uses chroot(1) with $DESTDIR as argument, to test the program in an
isolated environment.
Without having to use chroot, I used to test my old KDE3 programs installed
with DESTDIR=$HOME/mytestroot and PREFIX=/usr (for instance). In this case, I
have to export KDEDIRS="${DESTDIR}${PREFIX}" before running the programs.
CMake build systems provide DESTDIR support OOB.
Regards,
Pedro