[commit: haddock] master: Fix for #7879. (74c66f5)

Ian Lynagh igloo at earth.li
Sun May 19 22:11:45 CEST 2013


Repository : ssh://darcs.haskell.org//srv/darcs/haddock

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/74c66f5e30f9bb28cf45809958201680b186aeb0

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

commit 74c66f5e30f9bb28cf45809958201680b186aeb0
Author: Andreas Voellmy <andreas.voellmy at gmail.com>
Date:   Thu May 2 10:33:01 2013 -0400

    Fix for #7879.
    
    Changed copy of utils/haddock/html/resources/html to use "cp -RL" rather than "cp -R". This allows users to run validate in a build tree, where the build tree was setup using lndir with a relative path to the source directory.

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

 ghc.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ghc.mk b/ghc.mk
index 6a10a0f..39a44fa 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -20,7 +20,7 @@ $(INPLACE_BIN)/$(utils/haddock_dist_PROG): $(INPLACE_LIB)/html $(INPLACE_LIB)/la
 
 $(INPLACE_LIB)/html:
 	$(call removeTrees,$@)
-	"$(CP)" -R utils/haddock/resources/html $@
+	"$(CP)" -RL utils/haddock/resources/html $@
 
 $(INPLACE_LIB)/latex:
 	$(call removeTrees,$@)





More information about the ghc-commits mailing list