Re: [PATCH] Have to configure and build inside the source directory.

2011-03-09 Thread Carl Worth
On Fri, 28 Jan 2011 17:18:16 -0600, Rob Browning wrote: > I think the use of GNU make VPATH is fairly common. For example, I > believe the autotools build a tree that matches the srcdir structure and > add Makefiles that contain something like this: > > VPATH = ../../wherever/notmuch/thisdir >

[PATCH] Have to configure and build inside the source directory.

2011-03-09 Thread Carl Worth
On Fri, 28 Jan 2011 17:18:16 -0600, Rob Browning wrote: > I think the use of GNU make VPATH is fairly common. For example, I > believe the autotools build a tree that matches the srcdir structure and > add Makefiles that contain something like this: > > VPATH = ../../wherever/notmuch/thisdir

Build system (was: [PATCH] Have to configure and build inside the source directory.)

2011-01-30 Thread Thomas Schwinge
Hallo! On Sat, 29 Jan 2011 06:58:59 +1000, Carl Worth wrote: > Rather than documenting a limitation here, why don't we do what people > actually want. Well, not a big deal for me -- I'm just used to building projects containing a configure file outside of the source tree, and the notmuch build m

Build system (was: [PATCH] Have to configure and build inside the source directory.)

2011-01-30 Thread Thomas Schwinge
Hallo! On Sat, 29 Jan 2011 06:58:59 +1000, Carl Worth wrote: > Rather than documenting a limitation here, why don't we do what people > actually want. Well, not a big deal for me -- I'm just used to building projects containing a configure file outside of the source tree, and the notmuch build m

[PATCH] Have to configure and build inside the source directory.

2011-01-29 Thread Carl Worth
> +if ! { : < configure; } 2> /dev/null; then > +cat < +*** Error: You have to configure and build in the source directory. > + > +EOF > +exit 1 > +fi Rather than documenting a limitation here, why don't we do what people actually want. What do other build systems generally do when runnin

[PATCH] Have to configure and build inside the source directory.

2011-01-28 Thread Rob Browning
Carl Worth writes: > What do other build systems generally do when running configure from > some other directory? Copy/link the Makefiles and then construct them > carefully such that they can find all the source files? I think the use of GNU make VPATH is fairly common. For example, I believe

Re: [PATCH] Have to configure and build inside the source directory.

2011-01-28 Thread Rob Browning
Carl Worth writes: > What do other build systems generally do when running configure from > some other directory? Copy/link the Makefiles and then construct them > carefully such that they can find all the source files? I think the use of GNU make VPATH is fairly common. For example, I believe

Re: [PATCH] Have to configure and build inside the source directory.

2011-01-28 Thread Carl Worth
> +if ! { : < configure; } 2> /dev/null; then > +cat < +*** Error: You have to configure and build in the source directory. > + > +EOF > +exit 1 > +fi Rather than documenting a limitation here, why don't we do what people actually want. What do other build systems generally do when runnin

[PATCH] Have to configure and build inside the source directory.

2011-01-12 Thread Michal Sojka
On Tue, 11 Jan 2011, Thomas Schwinge wrote: > From: Thomas Schwinge > > Signed-off-by: Thomas Schwinge > > --- > configure | 11 +++ > 1 files changed, 11 insertions(+), 0 deletions(-) > > diff --git a/configure b/configure > index c58dd0f..b5e446c 100755 > --- a/configure > +++ b/c

Re: [PATCH] Have to configure and build inside the source directory.

2011-01-12 Thread Michal Sojka
On Tue, 11 Jan 2011, Thomas Schwinge wrote: > From: Thomas Schwinge > > Signed-off-by: Thomas Schwinge > > --- > configure | 11 +++ > 1 files changed, 11 insertions(+), 0 deletions(-) > > diff --git a/configure b/configure > index c58dd0f..b5e446c 100755 > --- a/configure > +++ b/c

[PATCH] Have to configure and build inside the source directory.

2011-01-11 Thread Thomas Schwinge
From: Thomas Schwinge Signed-off-by: Thomas Schwinge --- configure | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/configure b/configure index c58dd0f..b5e446c 100755 --- a/configure +++ b/configure @@ -188,6 +188,17 @@ developers. Then, please email those d

[PATCH] Have to configure and build inside the source directory.

2011-01-11 Thread Thomas Schwinge
From: Thomas Schwinge Signed-off-by: Thomas Schwinge --- configure | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/configure b/configure index c58dd0f..b5e446c 100755 --- a/configure +++ b/configure @@ -188,6 +188,17 @@ developers. Then, please email those d