[commit: ghc] wip/nfs-locking: Copy ghc-usage.txt and ghci-usage.txt. (b5d0778)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:41:40 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/b5d0778726fd75fd7547b89864ee8e2859ce0ccf/ghc

>---------------------------------------------------------------

commit b5d0778726fd75fd7547b89864ee8e2859ce0ccf
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Sun Jan 17 23:37:01 2016 +0000

    Copy ghc-usage.txt and ghci-usage.txt.
    
    Fix #181.


>---------------------------------------------------------------

b5d0778726fd75fd7547b89864ee8e2859ce0ccf
 src/Rules/Generate.hs | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/Rules/Generate.hs b/src/Rules/Generate.hs
index 025f1ee..c5386e4 100644
--- a/src/Rules/Generate.hs
+++ b/src/Rules/Generate.hs
@@ -23,7 +23,9 @@ import Settings
 installTargets :: [FilePath]
 installTargets = [ "inplace/lib/template-hsc.h"
                  , "inplace/lib/platformConstants"
-                 , "inplace/lib/settings" ]
+                 , "inplace/lib/settings"
+                 , "inplace/lib/ghc-usage.txt"
+                 , "inplace/lib/ghci-usage.txt" ]
 
 primopsSource :: FilePath
 primopsSource = "compiler/prelude/primops.txt.pp"
@@ -167,6 +169,8 @@ copyRules = do
     "inplace/lib/template-hsc.h"    <~ pkgPath hsc2hs
     "inplace/lib/platformConstants" <~ derivedConstantsPath
     "inplace/lib/settings"          <~ "."
+    "inplace/lib/ghc-usage.txt"     <~ "driver"
+    "inplace/lib/ghci-usage.txt"    <~ "driver"
   where
     file <~ dir = file %> \_ -> copyFile (dir -/- takeFileName file) file
 



More information about the ghc-commits mailing list