Re: builddir vs. srcdir

2005-03-18 Thread Paul Pogonyshev
> Hello, > > On Sat, Mar 12, 2005 at 06:56:20PM +0200, Paul Pogonyshev wrote: > > Everything seems to work just fine and as expected, > > your code, which is in whole cited below, doesn't actually know > about the dependency > foo.c foo.h: foo.list > > So i

Re: builddir vs. srcdir

2005-03-12 Thread Paul Pogonyshev
Stepan Kasal wrote: > About the side topic of suffixes: > [...] I finally decided that suffixes are good and ``are worth it'', mostly because I use generated files in 4 different directories (with two files in one of them), so rewriting the rule 5 times is kinda nasty. Based on your suggestions, s

Re: builddir vs. srcdir

2005-03-10 Thread Paul Pogonyshev
> Hi, > > On Wed, Mar 09, 2005 at 11:21:35PM +0200, Paul Pogonyshev wrote: > > > And I'd like to suggest that you use SUFFIXES to handle the .list > > > source. Please look at the following example: > > > > Well, my generator is even more non-stan

Re: builddir vs. srcdir

2005-03-10 Thread Paul Pogonyshev
Alexandre Duret-Lutz wrote: > >>> "Paul" == Paul Pogonyshev <[EMAIL PROTECTED]> writes: > > Paul> Stepan Kasal wrote: > >> Hello, > >> > >> On Tue, Mar 08, 2005 at 11:56:56PM +0200, Paul Pogonyshev wrote: > >> > beca

Re: builddir vs. srcdir

2005-03-09 Thread Paul Pogonyshev
Stepan Kasal wrote: > Hello, > > On Tue, Mar 08, 2005 at 11:56:56PM +0200, Paul Pogonyshev wrote: > > because the generated sources are placed into the build directory, > > while `make' looks for them in the source directory. > > generally, make should look for t

builddir vs. srcdir

2005-03-09 Thread Paul Pogonyshev
Hi. I'm currently massaging my `Makefile.am's to allow building in a separate directory. However, I have a problem which I cannot find how to solve. I have a few source (`.c' and `.h') files which are generated at build time from another source using a custom utility. When the build directory i