Minor thought on this: Isn't the general "change the build output directory" 
done with a PREFIX flag?

– Micheil

On 06/02/2013, at 2:55 PM, Ben Noordhuis wrote:

> On Wed, Feb 6, 2013 at 2:52 PM, TJ <nod...@iam.tj> wrote:
>> I needed the facility to build to an out-of-tree location rather than the 
>> hard-code "out/" directory in the source tree.
>> 
>> So far it works with all the test scenarios I've needed it for so I thought 
>> I'd put it out for wider testing and feedback. I'm sure there are use-cases 
>> and platform gotchas that I don't hit.
>> 
>> git clone --branch out-of-tree-builds git://github.com/iam-TJ/node.git
>> 
>> ---
>> 
>> configure has a new option "--outdir path/to/dir" which will allow all build 
>> files
>> to be generated outside of the source directory (config.mk and config.gyi are
>> still created in the source directory).
>> 
>> Files will be generated in "path/to/dir/out" and the symlink to the 
>> executables
>> will be created at "path/to/dir/node{,_g}".
>> 
>> Signed-off-by: TJ <t...@khiasmos.org>
>> ---
>> Makefile       | 130 
>> +++++++++++++++++++++++++++++----------------------------
>> configure      |  10 +++++
>> tools/gyp_node |  20 ++++++++-
>> 3 files changed, 95 insertions(+), 65 deletions(-)
> 
> Looks like an acceptable change to me.  Can you submit it as a pull request?
> 
> -- 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to nodejs@googlegroups.com
> To unsubscribe from this group, send email to
> nodejs+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to nodejs+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to