[commit: ghc] wip/nfs-locking: Copy haddock-prologue.txt to new build directory. (7122295)
git at git.haskell.org
git at git.haskell.org
Fri Oct 27 00:47:34 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/nfs-locking
Link : http://ghc.haskell.org/trac/ghc/changeset/7122295adffb0c254bfbd39a394e8915ac0e806a/ghc
>---------------------------------------------------------------
commit 7122295adffb0c254bfbd39a394e8915ac0e806a
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date: Sun Feb 7 02:33:04 2016 +0000
Copy haddock-prologue.txt to new build directory.
See #98.
>---------------------------------------------------------------
7122295adffb0c254bfbd39a394e8915ac0e806a
src/Rules/Data.hs | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/Rules/Data.hs b/src/Rules/Data.hs
index 00ec163..dc77d21 100644
--- a/src/Rules/Data.hs
+++ b/src/Rules/Data.hs
@@ -47,6 +47,8 @@ buildPackageData _ target @ (PartialTarget stage pkg) = do
createDirectory $ targetPath stage pkg -/- "build/autogen"
forM_ autogenFiles $ \file -> do
copyFile (oldPath -/- file) (targetPath stage pkg -/- file)
+ let haddockPrologue = "haddock-prologue.txt"
+ copyFile (oldPath -/- haddockPrologue) (targetPath stage pkg -/- haddockPrologue)
postProcessPackageData stage pkg dataFile
More information about the ghc-commits
mailing list