Re: BUILT_SOURCES called on `make dist` even if the built sources should not be included in the dist

2019-09-18 Thread Jerry Lundström
Hi Bob, On 9/18/19 3:22 PM, Bob Friesenhahn wrote: > On Wed, 18 Sep 2019, Jerry Lundström wrote: >> >> With v1.16 this step is executed during `make dist` and using >> `EXTRA_DIST` for that whole directory would also mean that _the built >> library_ would be included in the dist. > >

Re: BUILT_SOURCES called on `make dist` even if the built sources should not be included in the dist

2019-09-18 Thread Bob Friesenhahn
On Wed, 18 Sep 2019, Jerry Lundström wrote: With v1.16 this step is executed during `make dist` and using `EXTRA_DIST` for that whole directory would also mean that _the built library_ would be included in the dist. `EXTRA_DIST` only goes so far. In my own project I use `dist-hook` to

Re: BUILT_SOURCES called on `make dist` even if the built sources should not be included in the dist

2019-09-18 Thread Jerry Lundström
Hi Nick, On 9/17/19 8:25 PM, Nick Bowler wrote: > ... I just ran this example with Automake 1.16.1 and neither ext/built.c > nor ext/built.o are included in the distribution tar file generated by > 'make dist'. Exactly! Then why are they built during `make dist`? $ make dist make

Re: BUILT_SOURCES called on `make dist` even if the built sources should not be included in the dist

2019-09-17 Thread Nick Bowler
Hi Jerry, On 9/17/19, Jerry Lundström wrote: > This problem seems to have been introduced in v1.16 with: > > - "./configure && make dist" no longer fails when a distributed file > depends on one from BUILT_SOURCES. > > And what I can see in the Makefile output is that $(BUILT_SOURCES) has > been

Re: BUILT_SOURCES called on `make dist` even if the built sources should not be included in the dist

2019-09-17 Thread Bob Friesenhahn
On Tue, 17 Sep 2019, Jerry Lundström wrote: I can't really see how this change got approved, isn't the point of BUILT_SOURCES to be sources built when building!? Including them into distributions seems wrong. I see considerable documentation regarding BUILT_SOURCES at

BUILT_SOURCES called on `make dist` even if the built sources should not be included in the dist

2019-09-17 Thread Jerry Lundström
Hi, This problem seems to have been introduced in v1.16 with: - "./configure && make dist" no longer fails when a distributed file depends on one from BUILT_SOURCES. And what I can see in the Makefile output is that $(BUILT_SOURCES) has been added to distdir. I can't really see how this change