aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-08-28 14:22:29 +0000
committerIan Lynagh <igloo@earth.li>2008-08-28 14:22:29 +0000
commit54825d3531346ee52a48163f2e2b14d62b90d13b (patch)
treedf5ad7cbd4c9803c14463cb2b119ee6371b68e55 /haddock.cabal
parent56f2789e70905b790fc961455bcb9fbe56cc6626 (diff)
Fixes for using haddock in a GHC build tree
Diffstat (limited to 'haddock.cabal')
-rw-r--r--haddock.cabal3
1 files changed, 2 insertions, 1 deletions
diff --git a/haddock.cabal b/haddock.cabal
index d626f3cd..5f486bd3 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -75,9 +75,10 @@ executable haddock
if flag(ghc-paths)
build-depends: ghc-paths
+ cpp-options: -DGHC_PATHS
if impl(ghc >= 6.9)
- build-depends: Cabal >= 1.5
+ build-depends: Cabal >= 1.5, getopt
main-is: Main.hs
hs-source-dirs: src