X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=ab4f594e9fe097e9d51340ff24f54ee05ce56c1b;hb=df7dc3fa83d03a0ca903d3cd7d23debe045279cd;hp=6fe1a5293421668a6ddfb00b35038cc568ea5e18;hpb=83c20a542c1ef107f80ffac2c19e5cec31f03ce9;p=ghc-hetmet.git diff --git a/Makefile b/Makefile index 6fe1a52..ab4f594 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