From 74c66f5e30f9bb28cf45809958201680b186aeb0 Mon Sep 17 00:00:00 2001 From: Andreas Voellmy Date: Thu, 2 May 2013 10:33:01 -0400 Subject: 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 file changed, 1 insertion(+), 1 deletion(-) 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,$@) -- cgit v1.2.3