haskell/cabal — pull request #1501 by nh2 (2013-09-11 10:20:51+00:00)
Title: CopyFile: Don't touch copyFile target if it is identical.

This can prevent a lot of recompilation when using ghc -M / -c.