From 4d20bc6a4159b6b6747b581a60589861e31a236d Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Sun, 14 Nov 2010 20:55:27 +0000 Subject: [PATCH] Fix paths used for doc publishing in the nightly builds --- ghc.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ghc.mk b/ghc.mk index 0d21dcf..91bf43d 100644 --- a/ghc.mk +++ b/ghc.mk @@ -1076,9 +1076,15 @@ ifeq "$(mingw32_TARGET_OS)" "1" $(call try10Times,$(PublishCp) $(WINDOWS_INSTALLER) $(PublishLocation)/dist) endif +ifeq "$(mingw32_TARGET_OS)" "1" +DOCDIR_TO_PUBLISH = bindisttest/"install dir"/doc +else +DOCDIR_TO_PUBLISH = bindisttest/"install dir"/share/doc/ghc +endif + .PHONY: publish-docs publish-docs: - $(call try10Times,$(PublishCp) -r bindisttest/installed/share/doc/ghc/* $(PublishLocation)/docs) + $(call try10Times,$(PublishCp) -r $(DOCDIR_TO_PUBLISH)/* $(PublishLocation)/docs) # ----------------------------------------------------------------------------- # Source distributions -- 1.7.10.4