aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'haddock.cabal')
-rw-r--r--haddock.cabal15
1 files changed, 15 insertions, 0 deletions
diff --git a/haddock.cabal b/haddock.cabal
index 9939a352..5932b122 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -40,6 +40,21 @@ flag in-ghc-tree
default: False
manual: True
+-- This package re-exports the haddock-api library for compatibility.
+-- The library section will be removed in version 2.16.0.
+library
+ exposed: False
+ default-language: Haskell2010
+ hs-source-dirs: compat
+ ghc-options: -Wall
+ build-depends:
+ -- NOTE: Don't bump base dependency! Remove library section instead!
+ base >= 4.3 && < 4.8
+ , haddock-api
+ exposed-modules: Documentation.Haddock
+ if flag(in-ghc-tree)
+ buildable: False
+
executable haddock
default-language: Haskell2010
main-is: Main.hs