[project @ 2001-01-21 16:37:06 by sewardj]
[ghc-hetmet.git] / ghc / compiler / main / DriverMkDepend.hs
index 15459f5..e22a1da 100644 (file)
@@ -1,5 +1,5 @@
 -----------------------------------------------------------------------------
--- $Id: DriverMkDepend.hs,v 1.5 2000/11/15 15:43:31 sewardj Exp $
+-- $Id: DriverMkDepend.hs,v 1.7 2000/12/12 14:35:08 simonmar Exp $
 --
 -- GHC Driver
 --
@@ -18,6 +18,7 @@ import TmpFiles
 import Module
 import Config
 import Util
+import Panic
 
 import IOExts
 import Exception
@@ -155,11 +156,11 @@ endMkDependHS = do
 
        -- create a backup of the original makefile
   when (isJust makefile_hdl) $
-     run_something ("Backing up " ++ makefile)
+     runSomething ("Backing up " ++ makefile)
        (unwords [ "cp", makefile, makefile++".bak" ])
 
        -- copy the new makefile in place
-  run_something "Installing new makefile"
+  runSomething "Installing new makefile"
        (unwords [ "cp", tmp_file, makefile ])