aboutsummaryrefslogblamecommitdiffhomepage
path: root/Setup.hs
blob: f09d44373a69d60092f012a09d9f6bae284ca1fe (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
        }
    }