patch applied (cabal-branches/cabal-1.2): Put _stub.{c|h} files under dist/ so they'll get cleaned. Fixes bug #154.

Ian Lynagh igloo at earth.li
Tue Sep 25 21:11:04 EDT 2007


Duncan,

On Tue, Sep 25, 2007 at 05:39:21PM -0700, Ian Lynagh wrote:
> Mon Sep 17 05:30:42 PDT 2007  Duncan Coutts <duncan at haskell.org>
>   * Put _stub.{c|h} files under dist/ so they'll get cleaned. Fixes bug #154.
>   Only used with ghc-6.6 and later which supports the -stubdir flag.
>   With earlier ghc versions the files still end up in the src dirs and so do not
>   get cleaned.

Should the > in this be >=?

hunk ./Distribution/Simple/GHC.hs 482
+     ++ (if compilerVersion c > Version [6,6] []
+           then ["-stubdir", odir] else [])


Thanks
Ian



More information about the cabal-devel mailing list