From 09527ce32a8614d3abbc8e7dc984ffdd5712f917 Mon Sep 17 00:00:00 2001 From: panne Date: Mon, 2 Aug 2004 20:02:29 +0000 Subject: [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... --- src/HaddockHtml.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/HaddockHtml.hs') 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 -- cgit v1.2.3