From 9221ef240afc2859ce43c5a017e52aa1e6dc51f8 Mon Sep 17 00:00:00 2001 From: "simonpj@microsoft.com" Date: Tue, 27 Mar 2007 11:36:12 +0000 Subject: [PATCH] Add comments about the -include-prelude flag for ghc -M --- compiler/main/DriverMkDepend.hs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/main/DriverMkDepend.hs b/compiler/main/DriverMkDepend.hs index 74ee4dc..af917bd 100644 --- 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) ) + , ( "-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) ) -- 1.7.10.4