aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+