From: sven.panne@aedion.de Date: Tue, 4 Sep 2007 17:28:55 +0000 (+0000) Subject: Don't hardwire the build path into the Haddock docs X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=bb7c2f853c3dd4004cd738b18e8d63ce6301aa61;hp=bb7c2f853c3dd4004cd738b18e8d63ce6301aa61;p=ghc-hetmet.git Don't hardwire the build path into the Haddock docs Formerly, the ghc-pkg was called to get the HTML dirs for other packages, but of course doing this at *build* time is totally wrong. Now we use a relative path, just like before. This is probably not perfect, but much better than before. As a sidenote: Cabal calls the relevant flag "html-location", ghc-pkg calls the field "haddock-html", and Haddock itself uses it as part of "read-interface". Too much creativity is sometimes a bad thing... ---