Use sensible flags for ghc -M
|Reported by:||simonpj||Owned by:||igloo|
|Type of failure:||Difficulty:||Easy (less than 1 hour)|
|Test Case:||Blocked By:|
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.)
Change History (9)
comment:1 Changed 6 years ago by simonmar
- Milestone changed from 6.8 branch to 6.10 branch
- Owner igloo deleted