Re: How to tell Automake about dependencies between source files.

2009-04-16 Thread Ralf Wildenhues
Hello Peter, sorry for the delay. * Peter Breitenlohner wrote on Wed, Mar 18, 2009 at 10:35:51AM CET: > Let me be somewhat more explicit and give you an (idealized) Makefile.am > (fragment): > > if COND > bin_PROGRAMS = prog > endif COND > > prog_SOURCES = foo.c foo.h > nodist_prog_SOURCES = bar.

Re: How to tell Automake about dependencies between source files.

2009-03-18 Thread Peter Breitenlohner
On Tue, 17 Mar 2009, Ralf Wildenhues wrote: Hello Bob and Ralf, thanks for your replies, unfortunately they gave me no new insight Well, do you distribute any files that depend on these built files? If you stick to distributing all files which are prerequisites to distributed files, then there

Re: How to tell Automake about dependencies between source files.

2009-03-17 Thread Ralf Wildenhues
Hello Peter, * Peter Breitenlohner wrote on Tue, Mar 17, 2009 at 07:24:16PM CET: > A program is built conditionally from distributed and generated sources. > Some of the distributed C files include generated headers and therefore can > not be compiled before these headers are generated. List thes

How to tell Automake about dependencies between source files.

2009-03-17 Thread Peter Breitenlohner
Hi, I have to following problem (in an modernized TeX Live build system): A program is built conditionally from distributed and generated sources. Some of the distributed C files include generated headers and therefore can not be compiled before these headers are generated. A related problem: a