Configuring the SpiderMonkey build

How do I configure the build system so that the compiled SpiderMonkey will all be contained in just one folder? My intent is to copy this folder to another machine and set my environment so that it is installed. For other projects, I just specify the ‘bin’ directory in my $PATH and the ‘lib’ folder in my $LD_LIBRARY_PATH.