aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockHtml.hs
diff options
context:
space:
mode:
authorpanne <unknown>2004-08-02 20:02:29 +0000
committerpanne <unknown>2004-08-02 20:02:29 +0000
commit09527ce32a8614d3abbc8e7dc984ffdd5712f917 (patch)
treee2318d29b06a7966fb86c9dcafb7cccf38c46fd5 /src/HaddockHtml.hs
parentf50bd85da2d7edd5c9444cb3aaf5680961103928 (diff)
[haddock @ 2004-08-02 20:02:29 by panne]
Fixed -o/--odir handling. Generating the output, especially the directory handling, is getting a bit convoluted nowadays...
Diffstat (limited to 'src/HaddockHtml.hs')
-rw-r--r--src/HaddockHtml.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HaddockHtml.hs b/src/HaddockHtml.hs
index 1d9f3c5e..8c17547f 100644
--- a/src/HaddockHtml.hs
+++ b/src/HaddockHtml.hs
@@ -435,7 +435,7 @@ ppHtmlModule odir doctitle source_url
ifaceToHtml mdl iface </> s15 </>
footer
)
- writeFile (odir++moduleHtmlFile mdl) (renderHtml html False)
+ writeFile (odir ++ pathSeparator:moduleHtmlFile mdl) (renderHtml html False)
ifaceToHtml :: String -> Interface -> HtmlTable
ifaceToHtml _ iface