projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8401cde
)
Add comments about the -include-prelude flag for ghc -M
author
simonpj@microsoft.com
<unknown>
Tue, 27 Mar 2007 11:36:12 +0000
(11:36 +0000)
committer
simonpj@microsoft.com
<unknown>
Tue, 27 Mar 2007 11:36:12 +0000
(11:36 +0000)
compiler/main/DriverMkDepend.hs
patch
|
blob
|
history
diff --git
a/compiler/main/DriverMkDepend.hs
b/compiler/main/DriverMkDepend.hs
index
74ee4dc
..
af917bd
100644
(file)
--- a/
compiler/main/DriverMkDepend.hs
+++ b/
compiler/main/DriverMkDepend.hs
@@
-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) )
[ ( "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", 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) )
, ( "-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) )