Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/237fea9fd27a276f6674c76e2eeff0c6634576dd

>---------------------------------------------------------------

commit 237fea9fd27a276f6674c76e2eeff0c6634576dd
Author: Duncan Coutts <[email protected]>
Date:   Thu Jun 9 12:15:49 2011 +0100

    Fix for $topdir appearing in the haddock-html field
    
    I'd naively assumed that the haddock-html field would only use the
    $httptopdir variable. Hopefully this will fix the windows build.

>---------------------------------------------------------------

 utils/ghc-pkg/Main.hs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/utils/ghc-pkg/Main.hs b/utils/ghc-pkg/Main.hs
index 4e6b531..8e08c4f 100644
--- a/utils/ghc-pkg/Main.hs
+++ b/utils/ghc-pkg/Main.hs
@@ -678,7 +678,8 @@ mungePackagePaths top_dir pkgroot pkg =
       libraryDirs = munge_paths (libraryDirs pkg),
       frameworkDirs = munge_paths (frameworkDirs pkg),
       haddockInterfaces = munge_paths (haddockInterfaces pkg),
-      haddockHTMLs = munge_urls (haddockHTMLs pkg)
+                     -- haddock-html is allowed to be either a URL or a file
+      haddockHTMLs = munge_path (munge_urls (haddockHTMLs pkg))
     }
   where
     munge_paths = map munge_path



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to