[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BUILT_SOURCES called on `make dist` even if the built sources should
From: |
Jerry Lundström |
Subject: |
Re: BUILT_SOURCES called on `make dist` even if the built sources should not be included in the dist |
Date: |
Wed, 18 Sep 2019 15:50:48 +0200 |
User-agent: |
Mutt |
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.
>
> `EXTRA_DIST` only goes so far. In my own project I use `dist-hook` to
> bundle up foreign subdirectories which I am too lazy to fully describe
> or which are too fluid to bake into Makefile.am. For example:
I don't really have a problem with the distribution created, the issue
is why `BUILT_SOURCES` are called on `make dist`.
That could have been solved with the same `dist-hook` you use, and no
change to the existing logic would have been needed.
Cheers,
Jerry