This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/testsuite/ada] re-implement make clean & distclean
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: brobecker at adacore dot com
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 31 Dec 2006 14:12:10 +0100 (CET)
- Subject: Re: [RFA/testsuite/ada] re-implement make clean & distclean
- References: <20061231100755.GQ3640@adacore.com>
> 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...