From fefef1c49075acc4390db822fad7e351c777e847 Mon Sep 17 00:00:00 2001
From: Mateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>
Date: Sat, 23 Aug 2014 10:10:48 +0100
Subject: [PATCH] Remove compat stuff

---
 compat/Documentation/Haddock.hs |  5 -----
 haddock.cabal                   | 15 ---------------
 2 files changed, 20 deletions(-)
 delete mode 100644 compat/Documentation/Haddock.hs

diff --git a/compat/Documentation/Haddock.hs b/compat/Documentation/Haddock.hs
deleted file mode 100644
index 4130cfb9b4..0000000000
--- a/compat/Documentation/Haddock.hs
+++ /dev/null
@@ -1,5 +0,0 @@
-{-# LANGUAGE PackageImports #-}
-module Documentation.Haddock {-# DEPRECATED "Use @Documentation.Haddock@ from package <http://hackage.haskell.org/package/haddock-api haddock-api> instead!" #-} (
-  module Documentation.Haddock
-) where
-import "haddock-api" Documentation.Haddock
diff --git a/haddock.cabal b/haddock.cabal
index a31deb3a48..eca656d600 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -40,21 +40,6 @@ 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
-- 
GitLab