[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] {master} yacc: "make clean" removes .c and .h files from non
From: |
Ralf Wildenhues |
Subject: |
Re: [PATCH] {master} yacc: "make clean" removes .c and .h files from non-distributed .y |
Date: |
Fri, 7 Jan 2011 19:34:02 +0100 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
Hi Stefano,
* Stefano Lattarini wrote on Fri, Jan 07, 2011 at 04:02:59PM CET:
> The patch is based off of maint. OK to apply to a temporary
> branch and merge to master?
Yes. Thank you!
And thing you developed it off of maint, it might be a candidate for
later merging into branch-1.11.
Cheers,
Ralf
> Subject: [PATCH] yacc: "make clean" removes .c and .h files from
> non-distributed .y
>
> Previously, while automake did *not* distribute C source and header
> files derived from non-distributed Yacc sources, it still caused
> them to be removed only by "make maintainer-clean" only, and not by
> simply "make clean" or "make distclean".
> This caused "make distcheck" to fail, unless the developer put
> those generated .c and .h files in CLEANFILES or in DISTCLEANFILES
> by hand.
> This change fixes this issue, by making non-distributed `.c' and
> `.h' files generated by non-distributed Yacc sources cleaned by
> "make clean".
>
> * tests/automake.in (lang_yacc_target_hook): Make C source and
> header files derived from non-distributed Yacc files cleaned by
> "make clean", not only by "make maintainer-clean".
> * tests/yacc-clean.test: New test.
> * tests/Makefile.am (TESTS): Update.
> * NEWS: Update.