[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: distclean doesn't remove nodist BUILT_SOURCES
From: |
Jirka Hanika |
Subject: |
Re: distclean doesn't remove nodist BUILT_SOURCES |
Date: |
Sat, 9 Oct 2004 23:15:30 +0200 |
User-agent: |
Mutt/1.4.1i |
On Fri, Oct 08, 2004 at 11:56:36AM +0200, Stepan Kasal wrote:
> Hello,
> I have some files in BUILT_SOURCES and in nodist_xxx_SOURCES,
> so that they are not distributed.
>
> I'd expect that ``make distclean'' would remove them, but that's
> not the case. (I had to add a distclean-local rule to remove them,
> so that ``make distclean'' gets the tree to the original state.)
>
> Isn't this a bug in automake? (I use automake-1.9.2.)
I don't know. "make distclean" is supposed to remove nodist_, while
removing BUILT_SOURCES is supposed to need "make maintainerclean",
by the GNU Makefile standards, as you know better than I do.
Anyway, I like the present behavior as it allows you to obtain the opposite
one by including those files in DISTCLEANFILES, which I suggest to you as
a perhaps slightly more robust solution.
...unless Alexandre decides it is a bug and throws in a patch.
Jirka