From: Simon Marlow Date: Sat, 9 Feb 2008 14:36:48 +0000 (+0000) Subject: FIX #2023: substitute for $topdir in haddockInterfaces and haddockHTMLs X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=a9c09ca0546d62408356bc83bca92d8e88a5df7f FIX #2023: substitute for $topdir in haddockInterfaces and haddockHTMLs --- diff --git a/compiler/main/Packages.lhs b/compiler/main/Packages.lhs index d1feff7..2647a5f 100644 --- a/compiler/main/Packages.lhs +++ b/compiler/main/Packages.lhs @@ -260,7 +260,10 @@ mungePackagePaths top_dir ps = map munge_pkg ps munge_pkg p = p{ importDirs = munge_paths (importDirs p), includeDirs = munge_paths (includeDirs p), libraryDirs = munge_paths (libraryDirs p), - frameworkDirs = munge_paths (frameworkDirs p) } + frameworkDirs = munge_paths (frameworkDirs p), + haddockInterfaces = munge_paths (haddockInterfaces p), + haddockHTMLs = munge_paths (haddockHTMLs p) + } munge_paths = map munge_path