Re: Distributing BUILT_SOURCES dependencies and not target

2004-08-07 Thread Alexandre Duret-Lutz
>>> "Jan" == Jan Kratochvil <[EMAIL PROTECTED]> writes: Jan> Hi Xavier, Jan> On Sat, 07 Aug 2004 16:00:39 +0200, Xavier Décoret wrote: Jan> ... >> line 4: BUILT_SOURCES: foo_wrap.cxx >> line 5: libfoo.la_SOURCES: foo_wrap.cxx >> line 6: >> line 7: dist_data_DATA: foo.i Jan> ... >> Second

Re: Distributing BUILT_SOURCES dependencies and not target

2004-08-07 Thread Alexandre Duret-Lutz
>>> "Xavier" == Xavier Décoret <[EMAIL PROTECTED]> writes: Xavier> Hi, Xavier> I am compiling a project with a swig generated file. Swig is a tool Xavier> that takes a foo.i file and generates a foo_wrap.cxx (it can do more Xavier> but no our concerne here ;-)). Xavier> In my Makefile.am, I

Re: Distributing BUILT_SOURCES dependencies and not target

2004-08-07 Thread Jan Kratochvil
Hi Xavier, On Sat, 07 Aug 2004 16:00:39 +0200, Xavier Décoret wrote: ... > line 4: BUILT_SOURCES: foo_wrap.cxx > line 5: libfoo.la_SOURCES: foo_wrap.cxx > line 6: > line 7: dist_data_DATA: foo.i ... > Second question: The problem is that foo_wrap.cxx gets distributed too. > And since it is always

Distributing BUILT_SOURCES dependencies and not target

2004-08-07 Thread Xavier Décoret
Hi, I am compiling a project with a swig generated file. Swig is a tool that takes a foo.i file and generates a foo_wrap.cxx (it can do more but no our concerne here ;-)). In my Makefile.am, I put: line 1: foo_wrap.cxx: foo.i line 2: $SWIG -c++ -python foo.i line 3: line 4: BUILT_SOURCES: