On Wed, 3 Jan 2001, I  wrote:

> *next* build.  A fix tomorrow -- they will lock the building soon!

Well here it is.  This does work: it removes the makefiles and it
is still possible to build afterwards.  It takes a more conservative/timid
approach to what it deletes -- i.e no globs in there.

brains hgs 200 %> gdiff -u Makefile.in.orig Makefile.in.new
--- Makefile.in.orig    Mon Dec 25 03:55:18 2000
+++ Makefile.in         Wed Jan  3 09:18:28 2001
@@ -115,6 +115,9 @@
                @rm -f Makefile ext/extmk.rb config.h
                @rm -f ext/config.cache config.cache config.log
config.status
                @rm -f *~ core *.core gmon.out y.tab.c y.output ruby.imp
+               @-find . -type f \( -name Makefile -o -name core \
+               -o -name config.cache -o -name config.log \
+               -o -name config.status \) -exec rm -f {} \;
 
 realclean:     distclean
                @rm -f parse.c
brains hgs 201 %> 

I have run this successfully on a Solaris 2.5.1 system, and a Dec Alpha
OSF1 V4.0 system.

I have not installed cygwin ever, but it does say that it comes with gnu's
findutils, so it has a find available.  I think it is built by default,
but am not sure.  So the use of find should net be a problem for Unix
or Windows.* I think.

	Hugh