Add comments about the -include-prelude flag for ghc -M
authorsimonpj@microsoft.com <unknown>
Tue, 27 Mar 2007 11:36:12 +0000 (11:36 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 27 Mar 2007 11:36:12 +0000 (11:36 +0000)
compiler/main/DriverMkDepend.hs

index 74ee4dc..af917bd 100644 (file)
@@ -398,7 +398,11 @@ dep_opts =
    [ (  "s",                   SepArg (consIORef v_Dep_suffixes) )
    , (  "f",                   SepArg (writeIORef v_Dep_makefile) )
    , (  "w",                   NoArg (writeIORef v_Dep_warnings False) )
+
    , (  "-include-prelude",    NoArg (writeIORef v_Dep_include_pkg_deps True) )
+       -- -include-prelude is the old name for -include-pkg-deps, kept around
+       -- for backward compatibility, but undocumented
+
    , (  "-include-pkg-deps",   NoArg (writeIORef v_Dep_include_pkg_deps True) )
    , (  "-exclude-module=",     Prefix (consIORef v_Dep_exclude_mods . mkModuleName) )
    , (  "x",                    Prefix (consIORef v_Dep_exclude_mods . mkModuleName) )