patch applied (ghc): Invoke Haddock directly from the build system, instead of via Cabal

Simon Marlow marlowsd at gmail.com
Wed Jan 13 04:46:22 EST 2010


Tue Jan 12 14:55:48 PST 2010  Simon Marlow <marlowsd at gmail.com>
  * Invoke Haddock directly from the build system, instead of via Cabal
  Ignore-this: 1d30babfb13c2d110f79ce6c98cd2142
  
  Partly this is cleaner as we only have to preprocess the source files
  once, but also it is necessary to avoid Haddock recompiling source
  files when Template Haskell is in use, saving some time in validate
  and fixing a problem whereby when HADDOCK_DOCS=YES, make always
  re-haddocks the DPH packages.  This also needs an additional fix to
  GHC.
  
  HsColour support still uses Cabal, and hence preprocesses the source
  files again. We could move this into the build system too, but there
  is a version dependency that would mean adding extra autoconf stuff.

    M ./compiler/ghc.mk -1 +1
    M ./ghc.mk -4 +3
    M ./rules/haddock.mk -9 +20
    M ./utils/ghc-cabal/ghc-cabal.hs -28 +10

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20100112225548-12142-f0a096d56456bc0c2b43f899c5a34f75398ca6cf.gz



More information about the Cvs-ghc mailing list