{"thread":{"id":"32536","subject":"[Feature request] make git buildable from a separate directory","startedAt":"2013-01-05T20:52:05Z","lastAt":"2013-01-06T00:49:17Z","messageCount":2,"participants":["Manlio Perillo","Jonathan Nieder"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"206047","messageId":"50E89275.6080408@gmail.com","threadId":"32536","inReplyTo":null,"subject":"[Feature request] make git buildable from a separate directory","fromName":"Manlio Perillo","fromEmail":"manlio.perillo@gmail.com","sentAt":"2013-01-05T20:52:05Z","receivedAt":"2013-01-05T20:52:05Z","isPatch":false,"sender":{"key":"manlio.perillo@gmail.com","avatar":"https://avatars.githubusercontent.com/u/6217088?v=4"},"body":"-----BEGIN PGP SIGNED MESSAGE-----\nHash: SHA1\n\nHi.\n\nMany C projects I have seen (based on autoconf, but not always - like\nNginx) allow the project to be build in a separate directory, in order\nto avoid to pollute the working directory with compiled files.\n\nUnfortunately this seems to not be possible with Git.\nThe Makefile seems quite complex to me, so I'm not sure to be able to\nchange it to do what I want, without breaking it.\n\n\nThanks  Manlio\n-----BEGIN PGP SIGNATURE-----\nVersion: GnuPG v1.4.10 (GNU/Linux)\nComment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\n\niEYEARECAAYFAlDoknUACgkQscQJ24LbaUTw/QCdHbphkU3Mepo98D07yLaj3YyF\n5I4Anii94QDHsC1zm2Jp1hy2X/JFa/NE\n=vV1z\n-----END PGP SIGNATURE-----\n"},{"id":"206077","messageId":"20130106004917.GA6063@elie.Belkin","threadId":"32536","inReplyTo":"50E89275.6080408@gmail.com","subject":"Re: [Feature request] make git buildable from a separate directory","fromName":"Jonathan Nieder","fromEmail":"jrnieder@gmail.com","sentAt":"2013-01-06T00:49:17Z","receivedAt":"2013-01-06T00:49:17Z","isPatch":false,"sender":{"key":"jrnieder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/281595?v=4"},"body":"Hi Manlio,\n\nManlio Perillo wrote:\n\n> Many C projects I have seen (based on autoconf, but not always - like\n> Nginx) allow the project to be build in a separate directory, in order\n> to avoid to pollute the working directory with compiled files.\n>\n> Unfortunately this seems to not be possible with Git.\n\nI believe the Cygwin build[1] does this, so that could be a starting\npoint if you want to work on it.\n\nThey use the VPATH variable[2].\n\nHope that helps,\nJonathan\n\n[1] http://cygwin.com/ml/cygwin/2012-02/msg00391.html\n[2] https://www.gnu.org/software/make/manual/html_node/General-Search.html#General-Search\n"}]}