[amk - Fri Dec 14 20:42:39 2001]:
> Running "make distclean" with a post-0.0.3 snapshot of the CVS tree
> deletes all the files in CVS/ subdirectories, making further updating of
> the tree impossible.
This patch makes 'make distclean' not blow away CVS files.
Is this the answer, or should we create a 'make cvsclean' that is like
distclean, but leaves CVS files around?
-R
Index: Makefile.in
===================================================================
RCS file: /cvs/public/parrot/Makefile.in,v
retrieving revision 1.77
diff -u -u -r1.77 Makefile.in
--- Makefile.in 14 Dec 2001 05:48:50 -0000 1.77
+++ Makefile.in 16 Dec 2001 07:50:53 -0000
@@ -160,7 +160,7 @@
cd languages && $(MAKE) clean && cd ..
distclean:
- $(PERL) -MExtUtils::Manifest=filecheck -le
'$$ExtUtils::Manifest::Quiet=1;unlink $$_ for filecheck()'
+ $(PERL) -MExtUtils::Manifest=filecheck -le '$$ExtUtils::Manifest::Quiet=1; do
+{ unlink $$_ unless $$_ =~ m!(?:CVS/|\.cvs)! } for filecheck()'
test: $(TEST_PROG) assemble.pl .test_dummy