aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Voellmy <andreas.voellmy@gmail.com>2013-05-02 10:33:01 -0400
committerIan Lynagh <ian@well-typed.com>2013-05-19 20:47:39 +0100
commit74c66f5e30f9bb28cf45809958201680b186aeb0 (patch)
tree834cf753596fc978a572567aecd221ab9c7d8cf8
parentb6ef14069677c79f85cfdce7b5d69b06ca35f8b5 (diff)
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.
-rw-r--r--ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index 6a10a0f8..39a44fad 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,$@)