summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-08-01 22:41:55 +0000
committerIan Lynagh <igloo@earth.li>2009-08-01 22:41:55 +0000
commit92357c8ef004e57bda70cdde47d2ed573021434c (patch)
tree336122a7308054a110320f4e34d283804700c3e6 /ghc.mk
parent663fd6d2ea58fa1798a20ccf6c77fbd22df40177 (diff)
downloadhaskell-92357c8ef004e57bda70cdde47d2ed573021434c.tar.gz
Add a publish-docs rule
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index 7aa708cc13..6dde925dbf 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -833,6 +833,10 @@ ifeq "$(mingw32_TARGET_OS)" "1"
$(call nTimes,10,$(PublishCp) $(WINDOWS_INSTALLER) $(PublishLocation)/dist)
endif
+.PHONY: publish-docs
+publish-docs:
+ $(call nTimes,10,$(PublishCp) -r bindisttest/installed/share/doc/ghc/* $(PublishLocation)/docs)
+
# -----------------------------------------------------------------------------
# Source distributions