On Tue, May 22, 2012 at 12:06 PM, Nick Bowler <nbow...@elliptictech.com> wrote:

> Probably all you need to do is add these generated files to CLEANFILES,
> e.g.,
>
>  CLEANFILES = git_version.py git_version.sed
>
> so that "make clean" deletes them.

Actually thinking about this in more detail, git_version.py should not
be deleted by "make clean", or "make distclean", but by "make
maintainer-clean" as it needs to be in the distribution. Adding this
to MAINTAINERCLEANFILES results in the same error.

How can I tell distcheck that this file should remain in the tree
after a distclean?

Cheers

Adam

Reply via email to