aboutsummaryrefslogtreecommitdiffhomepage
path: root/Setup.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Setup.hs')
-rw-r--r--Setup.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/Setup.hs b/Setup.hs
new file mode 100644
index 0000000..c67c506
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,13 @@
1import Distribution.Simple
2import Distribution.Simple.Setup
3import Distribution.Simple.Haddock
4main = do
5 defaultMainWithHooks simpleUserHooks{
6 haddockHook = \p l h f -> haddockHook simpleUserHooks p l h f{
7 haddockHoogle = Flag True,
8 haddockHtml = Flag True,
9 haddockExecutables = Flag True,
10 haddockHscolour = Flag True
11 }
12 }
13