On Sun, Jun 19, 2011 at 11:16 PM, James Youngman <[email protected]> wrote: > > > diff --git a/lib/Makefile.am b/lib/Makefile.am > index 5450e9a..dbfb1a1 100644 > --- a/lib/Makefile.am > +++ b/lib/Makefile.am > > @@ -38,6 +37,14 @@ libfind_a_SOURCES += listfile.c extendbuf.c buildcmd.c > savedirinfo.c \ > forcefindlib.c qmark.c printquoted.c regextype.c dircallback.c > fdleak.c \ > safe-atoi.c splitstring.c > > +CLEANFILES = check-regexprops \ > + $(regexprops_SOURCES:.c=.gcno) \ > + $(regexprops_SOURCES:.c=.gcda) \ > + $(libfind_a_SOURCES:.c=.gcno) \ > + $(libfind_a_SOURCES:.c=.gcda) \ > + $(test_splitstring_SOURCES:.c=.gcno) \ > + $(test_splitstring_SOURCES:.c=.gcda)
This turns out not to have been a good idea because after transformation of .c to .gcno, listfile.h is still listfile.h and gets deleted. Thanks to Dave Gilbert for reporting this bug. James.
