aboutsummaryrefslogblamecommitdiffhomepage
path: root/Setup.hs
blob: 7b0e23703ad1b3b5501fed3df7339f3b98f9b4fc (plain) (tree)
1
2
3
4
5
6
7
8
9




                                       
                                                                          

                                        
                                                                                   




                                        
import Distribution.Simple
import Distribution.Simple.Setup
import Distribution.Simple.Haddock
main = do
  defaultMainWithHooks simpleUserHooks{
    haddockHook = \p l h flags -> haddockHook simpleUserHooks p l h flags{
        haddockHoogle       = Flag True,
        haddockHtml         = Flag True,
        haddockProgramArgs  = [("-q",["aliased"])], -- does not seam to do anything
        haddockExecutables  = Flag True,
        haddockHscolour     = Flag True
        }
    }