| What is the correct make target to get rid of all such generated files? | | Starting from a fresh tree everytime or searching for files manually | don't sound realistic - there must be some support in there for | getting rid of all generated left-overs (distclean presumably leaves | them there for source distributions).
The trouble (as I understand it) is two-fold - Adding files to remove when you say 'make clean' is manual, and hence error prone - When you 'darcs pull' a file that *used* to be removed is no longer removed because it is no longer generated. (Some people recommend 'make distclean' before pulling, but that seems extreme.) The obvious solution to both is to somehow offer 'make superclean', which removes every single file and directory that is not in the source repo. That is right-by-construction, and stays right regardless of changes. I don't know how to implement it though -- and of course any sort of automated 'rm' is anxious-making. Perhaps the easiest thing is to start with a fresh link-tree. That's easy and fast -- but does not work on Windows. Simon _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc