threads / discuss / 6293

building git in a separate directory

Subject: building git in a separate directory

## tl;dr

2 messages between Jan 9, 2007 and Jan 9, 2007.

replies: 1people: 2as markdown or json

Alexy Khrabrov· Jan 9, 2007, 03:30 UTC · lore
Tried to build git 1.4.4.1 away from the source directory -- said
make configure

-- which made a configure, switched to a separate build/ directory, invoked that/../configure -- which ran fine, except produced no Makefile!

What's the way to build git outside from the source directory?

Cheers, Alexy

Shawn O. Pearce· Jan 9, 2007, 03:37 UTC · re: Alexy Khrabrov · lore

Re: building git in a separate directory

Alexy Khrabrov <deliverable@gmail.com> wrote:
Show 9 quoted lines
> Tried to build git 1.4.4.1 away from the source directory -- said
> 
> make configure
> 
> -- which made a configure, switched to a separate build/ directory,
> invoked that/../configure -- which ran fine, except produced no
> Makefile!
> 
> What's the way to build git outside from the source directory?

I'm no sure that's supported right now. Someone tried to submit patches for it but I don't think they were applied. The configure script is really just a way to create a personal config.mak, which is the "real" way to configure Git prior to compiling it with Makefile.

-- 
Shawn.

← back to recent threads