On Nov 6, 2007, at 5:22 AM, Ralf Wildenhues wrote:
* Ralf Wildenhues wrote on Tue, Nov 06, 2007 at 05:11:13AM CET:* Benoit Sigoure wrote on Tue, Nov 06, 2007 at 01:31:42AM CET:--Makefile.am------------------------------------------- bin_PROGRAMS = foo foo_SOURCES = foo.c BUILT_SOURCES = foo.c foo.c: echo 'int main(){return 0;}' >$@Your foo.c gets distributed because it's in foo_SOURCES.And BTW your foo.c would not need to be a built source anyway, as there is already a rule that depends upon it (the .c.o one). Typically, BUILT_SOURCES are needed for headers upon which no explicit dependencies exist at the first time the package is built.
Hehe, true x 2. Sorry about that ;o -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory
PGP.sig
Description: This is a digitally signed message part
