aboutsummaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-02-13 13:58:53 +0000
committerIan Lynagh <igloo@earth.li>2009-02-13 13:58:53 +0000
commit73dcc6cffa965c0e674090753adaf0e4ff9cedcc (patch)
treef7f3a43ffe7ba7998ee54e23783892995b8a3712 /ghc.mk
parentcf426e27f1ba5cc5c1a7320e6f1ece5f58ea8ffd (diff)
Add a ghc.mk
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
new file mode 100644
index 00000000..67cde764
--- /dev/null
+++ b/ghc.mk
@@ -0,0 +1,12 @@
+
+utils/haddock_USES_CABAL = YES
+utils/haddock_PACKAGE = haddock
+utils/haddock_CONFIGURE_OPTS = --flag in-ghc-tree
+utils/haddock_dist_PROG = haddock
+# XXX This is a temporary hack:
+utils/haddock_HC_OPTS += -Wwarn
+
+$(eval $(call build-prog,utils/haddock,dist,2))
+
+utils/haddock_dist_MODULES += Paths_haddock
+