diff options
author | Ian Lynagh <igloo@earth.li> | 2008-08-27 18:07:02 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-08-27 18:07:02 +0000 |
commit | 3bedb421f81d6ebe5245df8a1326517b19271e2b (patch) | |
tree | acf102a5f44a214f281059519ddd3f5f34354f55 /haddock.cabal | |
parent | 9e99e2d285bbf4e119dc0060810bae226ddfcb9d (diff) |
Add a manual Cabal flag to control the ghc-paths dependency
Diffstat (limited to 'haddock.cabal')
-rw-r--r-- | haddock.cabal | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/haddock.cabal b/haddock.cabal index 31a4ef06..985a2a2b 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -57,20 +57,25 @@ data-files: html/minus.gif html/plus.gif - +flag ghc-paths + description: Should we use ghc-paths to find GHC? This is always enabled, except when building in a GHC tree. + default: True + manual: True executable haddock build-depends: base, haskell98, ghc >= 6.8.2 && <= 6.9, - ghc-paths, filepath, directory, pretty, containers, array + if flag(ghc-paths) + build-depends: ghc-paths + if impl(ghc >= 6.9) build-depends: Cabal >= 1.5 |