#1248: Use sensible flags for ghc -M
----------------------------+-----------------------------------------------
Reporter: simonpj | Owner: igloo
Type: task | Status: new
Priority: normal | Milestone: 6.8
Component: Compiler | Version: 6.6
Severity: normal | Keywords:
Difficulty: Easy (1 hr) | Testcase:
Architecture: Unknown | Os: Unknown
----------------------------+-----------------------------------------------
The `ghc -M` dependency analyser requires you to specify flags in a very
obscure way:
{{{
ghc -M -opt-dep-f -opt-depFunnyMakefile -optdep-include-pkg-deps
}}}
Simon M writes: "It's historical (because `mkdependHS` used to be a
separate script), but we can't just remove it because there's overlap
between the `-optdep` options and the main GHC options. I don't mind
introducing new names for the relevant options."
So the task is to decide names for the flags, implement the change, and
document it.
(Currently `DriverMkDepend.hs` does its own flaggery.)
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1248>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs