|
Re: Distributing BUILT_SOURCES dependencies and not target: msg#00045sysutils.automake.general
>>> "Jan" == Jan Kratochvil <rcpt-automake.AT.gnu.org@xxxxxxxxxxxxxxxxx> 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 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. Jan> I am using: Jan> dist-hook: Jan> for i in _built_sources_pad $(BUILT_SOURCES);do \ Jan> $(RM) $(distdir)/$$i; \ Jan> done It's always a bad idea to lie to Automake (i.e. pretend that a file is to be distributed, and remove it in its back), especially when you have ways to express the truth (using dist_/nodist_). -- Alexandre Duret-Lutz |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Distributing BUILT_SOURCES dependencies and not target: 00045, Alexandre Duret-Lutz |
|---|---|
| Next by Date: | the correct rm macro in automake: 00045, Xavier Décoret |
| Previous by Thread: | Re: Distributing BUILT_SOURCES dependencies and not targeti: 00045, Jan Kratochvil |
| Next by Thread: | Re: Distributing BUILT_SOURCES dependencies and not target: 00045, Alexandre Duret-Lutz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |