aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock.hs
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2014-08-22 12:14:16 +0800
committerSimon Hengel <sol@typeful.net>2014-08-22 12:14:16 +0800
commite99252026ad1b50215b86ffe30038351ca486bfa (patch)
treed0a88fd913edd590fefb952d635871f11afda41b /src/Haddock.hs
parent2c3f2b47fa5e66f5503b5418415e2fa75d134689 (diff)
Move Haddock API to a separate package
Diffstat (limited to 'src/Haddock.hs')
-rw-r--r--src/Haddock.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Haddock.hs b/src/Haddock.hs
index 3d049b18..ad78c50d 100644
--- a/src/Haddock.hs
+++ b/src/Haddock.hs
@@ -19,7 +19,6 @@
-----------------------------------------------------------------------------
module Haddock (haddock, readPackagesAndProcessModules, withGhc') where
-
import Haddock.Backends.Xhtml
import Haddock.Backends.Xhtml.Themes (getThemes)
import Haddock.Backends.LaTeX
@@ -54,7 +53,7 @@ import Data.Int
import System.FilePath
#else
import qualified GHC.Paths as GhcPaths
-import Paths_haddock
+import Paths_haddock_api (getDataDir)
#endif
import GHC hiding (verbosity)