Re: Building sources twice

2010-01-19 Thread Dennis Gilmore
On Monday 18 January 2010 10:10:34 pm Toshio Kuratomi wrote: > We have a few packages that need to build themselves from their sources > twice. For instance, vim builds three times (a minimal version for > /bin/vi, and two versions with more dependencies for /usr/bin/vim and > /usr/bin/gvim). Wor

Re: Building sources twice

2010-01-19 Thread Orion Poplawski
On 01/19/2010 07:47 AM, Joe Orton wrote: > Most projects should allow use to use "VPATH" builds where > srcdir!=builddir, if not it is generally pretty simple to fix up the > Makefiles to support this. Generally you'll do: > > mkdir build-one&& cd build-one > ../configure --some-options > m

Re: Building sources twice

2010-01-19 Thread Toshio Kuratomi
On Tue, Jan 19, 2010 at 02:47:54PM +, Joe Orton wrote: > On Mon, Jan 18, 2010 at 11:10:34PM -0500, Toshio Kuratomi wrote: > > We have a few packages that need to build themselves from their sources > > twice. For instance, vim builds three times (a minimal version for /bin/vi, > > and two vers

Re: Building sources twice

2010-01-19 Thread Joe Orton
On Mon, Jan 18, 2010 at 11:10:34PM -0500, Toshio Kuratomi wrote: > We have a few packages that need to build themselves from their sources > twice. For instance, vim builds three times (a minimal version for /bin/vi, > and two versions with more dependencies for /usr/bin/vim and > /usr/bin/gvim).