I've noticed two issues with Cabal's "clean" command (bleeding edge version in 
GHC):

 * It naively removes any Haskell source when there is a *.ly or *.y and 
probably the same happens for other file types like *.x. Most of the time 
this is OK, but not e.g. for Haddock, where the generated files are part of 
the darcs repository. Is there a way to mark some files as "precious", so 
"clean" avoids removing them?

 * The "dist" subdirectory is cleaned, but not actually removed itself. This 
is not the intended behaviour, I guess.

Cheers,
    S.

Reply via email to