From: Jonathan Nieder Date: Sun, 06 Jan 2013 00:49:17 GMT Subject: Re: [Feature request] make git buildable from a separate directory Message-ID: <20130106004917.GA6063@elie.Belkin> In-Reply-To: <50E89275.6080408@gmail.com> Hi Manlio, Manlio Perillo wrote: > Many C projects I have seen (based on autoconf, but not always - like > Nginx) allow the project to be build in a separate directory, in order > to avoid to pollute the working directory with compiled files. > > Unfortunately this seems to not be possible with Git. I believe the Cygwin build[1] does this, so that could be a starting point if you want to work on it. They use the VPATH variable[2]. Hope that helps, Jonathan [1] http://cygwin.com/ml/cygwin/2012-02/msg00391.html [2] https://www.gnu.org/software/make/manual/html_node/General-Search.html#General-Search