On 2014-11-11 Simon Richter <simon.rich...@hogyros.de> wrote: > Hi, > > On 11.11.2014 21:07, fr33domlover wrote: > > >> When the files are distributed, the "distcheck" should recognize that > >> these belong in the source package, and not show an error. > > > Hmmm I think I didn't make myself clear. So just to make sure, before I > > cause confusion: The files are indeed distributed validaly. The "problem" > > is that they are not cleaned by `make distclean`. I intentionally made them > > clean only on `make maintainer-clean`. When `make distcheck` sees they > > don't get cleaned by `make distclean`, it produces an error. > > If they are distributed, the distcheck target should not complain, > because it should expect the files to be there. > > Can you post the relevant parts of the Makefile.am ? > > Simon
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`.
signature.asc
Description: PGP signature