[commit: ghc] wip/nfs-locking: Add a build rule for inplace/lib/settings. (0ceae64)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:20:12 UTC 2017


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

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

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

commit 0ceae64327289b2cb79041cb75ec1e7c92af8546
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Wed Dec 30 15:16:18 2015 +0000

    Add a build rule for inplace/lib/settings.


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

0ceae64327289b2cb79041cb75ec1e7c92af8546
 src/Rules/Install.hs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/Rules/Install.hs b/src/Rules/Install.hs
index 13a0e00..2e74bd3 100644
--- a/src/Rules/Install.hs
+++ b/src/Rules/Install.hs
@@ -7,12 +7,14 @@ import Rules.Generate
 
 installTargets :: [FilePath]
 installTargets = [ "inplace/lib/template-hsc.h"
-                 , "inplace/lib/platformConstants" ]
+                 , "inplace/lib/platformConstants"
+                 , "inplace/lib/settings" ]
 
 installRules :: Rules ()
 installRules = do
     "inplace/lib/template-hsc.h"    <~ pkgPath hsc2hs
     "inplace/lib/platformConstants" <~ derivedConstantsPath
+    "inplace/lib/settings"          <~ "."
   where
     file <~ dir = file %> \out -> do
         let source = dir -/- takeFileName out



More information about the ghc-commits mailing list