Re: Non-recursive makefiles

2006-06-30 Thread Christopher S Morrison
Apologies on the delayed reply, but I felt like taking the bait.. I respectfully and fully disagree that running make in a subdirectory is admission of anything other than a need to clean some a subset of a given project in a convenient manner. The reason someone might want to do a make clean

Re: Non-recursive makefiles

2006-06-06 Thread Marc Alff
Hi all, Bob Friesenhahn wrote: > On Mon, 29 May 2006, Stefan Puiu wrote: >> However, people haven't mentioned yet the main point in Peter Miller's >> paper - dependency handling, which I think is very important (I would >> say significantly more important than the ability to type "make clean" >>

Re: Non-recursive makefiles

2006-06-05 Thread Stefan Puiu
Hi, On 6/6/06, Ralf Corsepius <[EMAIL PROTECTED]> wrote: Well, that's one of those cases I'd prefer to call "urban legends" of "flat makefiles". Yes, in an ideal world, a flat makefile can take all dependencies. But in real world a complex package consists of more or less independent subpackage

Re: Non-recursive makefiles

2006-06-05 Thread Ralf Corsepius
On Tue, 2006-05-30 at 12:23 -0500, Bob Friesenhahn wrote: > On Mon, 29 May 2006, Stefan Puiu wrote: > > However, people haven't mentioned yet the main point in Peter Miller's > > paper - dependency handling, which I think is very important Well, that's one of those cases I'd prefer to call "urban l

Re: Non-recursive makefiles

2006-05-30 Thread Bob Friesenhahn
On Mon, 29 May 2006, Stefan Puiu wrote: However, people haven't mentioned yet the main point in Peter Miller's paper - dependency handling, which I think is very important (I would say significantly more important than the ability to type "make clean" in one directory). Most people I work with ar

Re: Non-recursive makefiles

2006-05-28 Thread Tom Tromey
> "Ralf" == Ralf Corsepius <[EMAIL PROTECTED]> writes: Ralf> An aspect, I don't see how an import feature would help is Ralf> "scoping": A subdir-Makefile.am controls one subdir, a flat Ralf> toplevel Makefile controls all subdirs. I.e. when developing on Ralf> a package, with a non-flat Makef

Re: Non-recursive makefiles

2006-05-28 Thread Stefan Puiu
HI all, I find some of the information in this thread quite useful, especially since I was considering to move some of our project files to non-recursive makefiles. I understand the downsides - silly variable names in subdir makefiles, which are also tied to the respective directory and require

Re: Non-recursive makefiles

2006-05-24 Thread Olly Betts
On Wed, May 24, 2006 at 01:57:15PM +0200, Ralf Wildenhues wrote: > * Olly Betts wrote on Wed, May 24, 2006 at 12:24:53PM CEST: > > * Generally, it would be useful for the manual to go into a bit more > > detail about how to approach all this. > > Agreed. I'm sure Alexandre will gladly accept co

Re: Non-recursive makefiles

2006-05-24 Thread Morrison
On Wed, 2006-05-24 at 13:57 +0200, Ralf Wildenhues wrote: [snip..] - Non-recursive makefiles are suitable for projects of mediocre complexity. For complex projects the price of flat Makefile is high and often doesn't pay off. Hear hear! After spending a fair bit of time considerin

Re: Non-recursive makefiles

2006-05-24 Thread Ralf Corsepius
On Wed, 2006-05-24 at 17:01 +0200, Ralf Wildenhues wrote: > * Ralf Corsepius wrote on Wed, May 24, 2006 at 04:34:02PM CEST: > It often helps a lot to have fewer Makefiles than one per directory, > especially in parts of a source tree where they are rather simple. > > > - subdir makefile.am-fragme

Re: Non-recursive makefiles

2006-05-24 Thread Ralf Wildenhues
* Ralf Corsepius wrote on Wed, May 24, 2006 at 04:34:02PM CEST: > > - Non-recursive makefiles are suitable for projects of mediocre > complexity. For complex projects the price of flat Makefile is high and > often doesn't pay off. Yes, agreed as well, but I think nobody is su

Re: Non-recursive makefiles

2006-05-24 Thread Ralf Corsepius
On Wed, 2006-05-24 at 13:57 +0200, Ralf Wildenhues wrote: > Hi Olly, > > * Olly Betts wrote on Wed, May 24, 2006 at 12:24:53PM CEST: > > I've been looking at the feasibility of converting a project (Xapian) > > using autoconf+automake+libtool to using non-recursive make

Re: Non-recursive makefiles

2006-05-24 Thread Bob Friesenhahn
On Wed, 24 May 2006, Olly Betts wrote: * I'm not sure what to call the Makefile.am snippets in the subdirectories. I looked at GraphicsMagick which was suggested to be Likewise. :-) harder to maintain. It'd be really handy to have a way to automatically prepend the directory that the cu

Re: Non-recursive makefiles

2006-05-24 Thread Ralf Wildenhues
Hi Olly, * Olly Betts wrote on Wed, May 24, 2006 at 12:24:53PM CEST: > I've been looking at the feasibility of converting a project (Xapian) > using autoconf+automake+libtool to using non-recursive makefiles. > I'm fairly convinced it'll be an improvement overall, but

Non-recursive makefiles

2006-05-24 Thread Olly Betts
I've been looking at the feasibility of converting a project (Xapian) using autoconf+automake+libtool to using non-recursive makefiles. Currently each subdirectory produces a libtool convenience library and these are linked into the main installable library. There are a few conven