Commit 1b1783ee authored by dterei's avatar dterei

Follow change in GHC make file generation for shake.

parent 349862e0
......@@ -238,7 +238,7 @@ buildRules r Build{..} = do
"//Main.deps" *> \out -> do
let dir = unoutput out
config <- readConfig' $ takeDirectory out </> "config.txt"
system' compiler $ ["-w","-M",dir </> config "MAIN","-i" ++ dir,"-dep-makefile=" ++ out] ++
system' compiler $ ["-w","-M",dir </> config "MAIN","-i" ++ dir,"-dep-makefile=" ++ out, "-dep-suffix", ""] ++
words (config "SRC_HC_OPTS")
src <- liftIO $ readFile out
need [x | x <- words src, takeExtension x `elem` [".hs",".lhs",".h"]]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment