summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-12-16 12:25:44 +0000
committerIan Lynagh <igloo@earth.li>2007-12-16 12:25:44 +0000
commit3b22ea4e028b413cd547c79bea6b690c7efb9163 (patch)
tree9976e41f119bb558ac2424ea6ce923157e6d4520 /Makefile
parent3cd5182735b6c70d45cb5f54252b1c2a5e34ec29 (diff)
downloadhaskell-3b22ea4e028b413cd547c79bea6b690c7efb9163.tar.gz
Fix publishing the docs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f58ae7000d..bceef035b8 100644
--- a/Makefile
+++ b/Makefile
@@ -385,7 +385,8 @@ endif
# Upload the distribution and documentation
ifneq "$(PublishLocation)" ""
-publish :: publish-binary-dist
+publish ::
+ make publish-binary-dist 'prefix=$(BIN_DIST_INST_DIR)'
endif
.PHONY: publish-binary-dist
@@ -397,9 +398,9 @@ publish-binary-dist ::
done \
done
-# You need to first make binddisttest, and then run
-# make publish 'prefix=$(BIN_DIST_INST_DIR)'
-# for this to find the right place.
+# You need to "make binddisttest" before publishing the docs, as it
+# works by publish setting $(prefix) to inside the binddisttest
+# directory so $(docdir) points to the right place.
# We assume that Windows means Cygwin, as we can't just use docdir
# unchanged or rsync (really SSH?) thinks that c:/foo means /foo on