On 2014-11-11
Simon Richter <simon.rich...@hogyros.de> wrote:

> Hi,
> 
> On 11.11.2014 22:02, fr33domlover wrote:
> 
> >> If they are distributed, the distcheck target should not complain,
> >> because it should expect the files to be there.
> 
> > The files are not specified in any variable with 'dist_' prefix. They are
> > distributed because I wrote a dist-hook. Normally I would also add them to
> > DISTCLEANFILES, but in this case I decided I prefer MAINTAINERCLEANFILES,
> > which is why `make distclean` doesn't remove them and the error is
> > generated by `make distcheck`.
> 
> I think you have found the solution: if you add them to automake's list
> of distributed files, the error should go away.
> 
> You can use EXTRA_DIST for that, or use a regular variable which will
> also give them an installation target directory.
> 
>    Simon
> 

I already added them to EXTRA_DIST (actually added the whole folder and a
dist-hook that `rm`s the auxiliary files), but also to MAINTAINERCLEANFILES, so
they don't get removed by `make distclean`. That's fine - this is what I want.
But it (naturally) causes `make distcheck` to complain and fail.

Attachment: signature.asc
Description: PGP signature

Reply via email to