Use sensible flags for ghc -M
|Reported by:||simonpj||Owned by:||igloo|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
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.
DriverMkDepend.hs does its own flaggery.)