aboutsummaryrefslogtreecommitdiffhomepage
path: root/Setup.hs
blob: c67c5069329675ce53776c0eb774d5ddda351edc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import Distribution.Simple
import Distribution.Simple.Setup
import Distribution.Simple.Haddock
main = do
  defaultMainWithHooks simpleUserHooks{
    haddockHook = \p l h f -> haddockHook simpleUserHooks p l h f{
        haddockHoogle       = Flag True,
        haddockHtml         = Flag True,
        haddockExecutables  = Flag True,
        haddockHscolour     = Flag True
        }
    }