Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
34fdf05f
Commit
34fdf05f
authored
May 21, 2007
by
Simon Marlow
Browse files
separate the Windows version of uploading the docs, and fix it
parent
f8033bd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
34fdf05f
...
...
@@ -400,13 +400,22 @@ binary-dist :: publish-binary-dist
endif
.PHONY
:
publish-binary-dist
publish-binary-dist
:
publish-binary-dist
:
:
@
for
i
in
0 1 2 3 4 5 6 7 8 9
;
do
\
echo
"Try
$$
i:
$(PublishCp)
$(BIN_DIST_TARBALL)
$(PublishLocation)
/dist"
;
\
if
$(PublishCp)
$(BIN_DIST_TARBALL)
$(PublishLocation)
/dist
;
then
break
;
fi
;
\
done
$(PublishCp)
-r
$(FPTOOLS_TOP)
/
$(BIN_DIST_NAME)
/share/html/
*
$(PublishLocation)
/docs
ifeq
"$(TARGETPLATFORM)" "i386-unknown-mingw32"
# On Windows, we cannot use absoluate pathnames to rsync, because they look
# like remote pathnames ("c:/foo/bar"). Also, the docs reside in doc/
# rather than share/, due to prep-bin-dist-mingw.
publish-binary-dist
::
$(PublishCp)
-r
$(FPTOOLS_TOP)
/
$(BIN_DIST_NAME)
/doc/html/
*
$(PublishLocation)
/docs
else
publish-binary-dist
::
$(PublishCp)
-r
$(BIN_DIST_DIR)
/share/html/
*
$(PublishLocation)
/docs
endif
binary-dist
::
@
echo
"Mechanical and super-natty! Inspect the result and *if* happy; freeze, sell and get some sleep!"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment