summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-02-22 10:28:23 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-02-22 10:28:23 +0000
commit64496ad6ff9164151381d11d223294bde1859211 (patch)
treef8462d212f9bdddd8110904db469fb0d9aeb9cd4
parent83c20a542c1ef107f80ffac2c19e5cec31f03ce9 (diff)
downloadhaskell-64496ad6ff9164151381d11d223294bde1859211.tar.gz
upload documentation too
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6fe1a52934..ab4f594e9f 100644
--- a/Makefile
+++ b/Makefile
@@ -380,13 +380,14 @@ binary-dist ::
( cd $(BIN_DIST_TOPDIR); tar cf - $(BIN_DIST_NAME) | bzip2 >$(BIN_DIST_TARBALL) )
( cd $(BIN_DIST_TOPDIR); bunzip2 -c $(BIN_DIST_TARBALL) | tar tf - | sed "s/^ghc-$(ProjectVersion)/fptools/" | sort >bin-manifest-$(ProjectVersion) )
-# Upload the distribution
+# Upload the distribution and documentation
ifneq "$(PublishLocation)" ""
binary-dist ::
@for i in 0 1 2 3 4 5 6 7 8 9; do \
echo "Try $$i: $(PublishCp) $(BIN_DIST_TARBALL) $(PublishLocation)"; \
if $(PublishCp) $(BIN_DIST_TARBALL) $(PublishLocation); then break; fi\
done
+ $(PublishCp) -r $(BIN_DIST_DIR)/share/html/* $(PublishLocation)/docs
endif