This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/testsuite/ada] re-implement make clean & distclean


> Date: Sun, 31 Dec 2006 14:07:55 +0400
> From: Joel Brobecker <brobecker@adacore.com>
> 
> Hello,
> 
> The current implementation for make clean requires us that we update
> the EXECUTABLES list each time we add a new testcase. It was a vague
> copy/paste of some code I probably found in one of the nearby Makefiles...
> It was causing me a bit of grief that certain files would not be deleted
> when I did a "make clean", in particular the executables produced by
> gnatmake. I decided to replace this with an approach we have been using
> with great success in our own testsuite for years...
> 
> 2006-12-31  Joel Brobecker  <brobecker@adacore.com>
> 
>         * gdb.ada/Makefile.in (EXECUTABLES): Delete.
>         (MISCELLANEOUS): Delete.
>         (clean): Re-implement.
>         (mostlyclean): Likewise.
> 
> Tested on my x86-linux laptop.  Any objection?

Hmm, seems a bit scary to me.  If I read this correctly, a file named
NOTES would be wiped isn't it?  I'm using a seperate object dir, so I
probably won't care, but others might...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]