This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Distributing BUILT_SOURCES dependencies and not target
- From: Jan Kratochvil <rcpt-automake dot AT dot gnu dot org at jankratochvil dot net>
- To: Xavier Décoret <xdecoret at free dot fr>
- Cc: automake at gnu dot org
- Date: Sat, 7 Aug 2004 20:20:54 +0200
- Subject: Re: Distributing BUILT_SOURCES dependencies and not target
- References: <4114E087.3040209@free.fr>
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 more recent that .i file after I ran make. I
> don't have the expected behaviour. Downloaders of the lib won't get the
> foo_wrap.cxx regenerated. How do I remove this file from the dist.
I am using:
dist-hook:
for i in _built_sources_pad $(BUILT_SOURCES);do \
$(RM) $(distdir)/$$i; \
done
Regards,
Lace
--
Jan Kratochvil; Captive: free r/w NTFS Filesystem; http://www.jankratochvil.net/