diff options
author | Ian Lynagh <igloo@earth.li> | 2008-01-16 16:27:52 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2008-01-16 16:27:52 +0000 |
commit | 32f585b6f987ce88f5e93ab21783fc7d9532645f (patch) | |
tree | abe91e2cb7b324f85843788a7c978a3c469db47a /compiler/main/DriverMkDepend.hs | |
parent | c9b6b5e89b9f75bc40a9964fdd154242dd4ed45b (diff) | |
download | haskell-32f585b6f987ce88f5e93ab21783fc7d9532645f.tar.gz |
Fix Makefile generatin on Windows
Diffstat (limited to 'compiler/main/DriverMkDepend.hs')
-rw-r--r-- | compiler/main/DriverMkDepend.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/main/DriverMkDepend.hs b/compiler/main/DriverMkDepend.hs index ffafccaffb..901b3bb7ce 100644 --- a/compiler/main/DriverMkDepend.hs +++ b/compiler/main/DriverMkDepend.hs @@ -22,7 +22,7 @@ module DriverMkDepend ( import qualified GHC import GHC ( Session, ModSummary(..) ) import DynFlags -import Util ( escapeSpaces ) +import Util import HscTypes ( HscEnv, IsBootInterface, msObjFilePath, msHsFilePath ) import SysTools ( newTempName ) import qualified SysTools @@ -248,10 +248,10 @@ findDependency hsc_env src imp is_boot include_pkg_deps ----------------------------- writeDependency :: Handle -> [FilePath] -> FilePath -> IO () -- (writeDependency h [t1,t2] dep) writes to handle h the dependency --- t1 t2 : dep +-- t1 t2 : dep writeDependency hdl targets dep - = hPutStrLn hdl (unwords (map escapeSpaces targets) ++ " : " - ++ escapeSpaces dep) + = hPutStrLn hdl (unwords (map forOutput targets) ++ " : " ++ forOutput dep) + where forOutput = escapeSpaces . reslash Forwards . normalise ----------------------------- insertSuffixes |