From a9c09ca0546d62408356bc83bca92d8e88a5df7f Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Sat, 9 Feb 2008 14:36:48 +0000 Subject: [PATCH] FIX #2023: substitute for $topdir in haddockInterfaces and haddockHTMLs --- compiler/main/Packages.lhs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 1.7.10.4