# building git in a separate directory

2 messages from 2007-01-09 to 2007-01-09. Participants: Alexy Khrabrov, Shawn O. Pearce.
Thread: https://gitlist.dev/t/6293

## Alexy Khrabrov, 2007-01-09 03:30

Subject: building git in a separate directory
Message-ID: <7c737f300701081930t755d9e61h581e421ecf7ab465@mail.gmail.com>
URL: https://gitlist.dev/e/7c737f300701081930t755d9e61h581e421ecf7ab465%40mail.gmail.com

```
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, 2007-01-09 03:37

Subject: Re: building git in a separate directory
Message-ID: <20070109033752.GD1904@spearce.org>
URL: https://gitlist.dev/e/20070109033752.GD1904%40spearce.org
In-Reply-To: <7c737f300701081930t755d9e61h581e421ecf7ab465@mail.gmail.com>

```
Alexy Khrabrov <deliverable@gmail.com> wrote:
> 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.

```
