Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
obsidiansystems
GHC
Commits
fe784e7d
Commit
fe784e7d
authored
Dec 18, 2007
by
Ian Lynagh
Browse files
More bindist-publishing fixes and refactoring
parent
3b22ea4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
fe784e7d
...
...
@@ -389,13 +389,12 @@ publish ::
make publish-binary-dist
'prefix=
$(BIN_DIST_INST_DIR)
'
endif
nTimes
=
set
-e
;
for
i
in
`
seq
1
$(1)
`
;
do
echo
Try
"
$$
i:
$(2)
"
;
if
$(2)
;
then
break
;
fi
;
done
.PHONY
:
publish-binary-dist
publish-binary-dist
::
@
for
f
in
$(PUBLISH_FILES)
;
do
\
for
i
in
0 1 2 3 4 5 6 7 8 9
;
do
\
echo
"Try
$$
i:
$(PublishCp)
$$
f
$(PublishLocation)
/dist"
;
\
if
$(PublishCp)
$$
f
$(PublishLocation)
/dist
;
then
break
;
fi
;
\
done
\
@
for
f
in
$(PUBLISH_FILES)
;
\
do
$(
call
nTimes,10,
$(PublishCp)
$$
f
$(PublishLocation)
/dist
)
;
\
done
# You need to "make binddisttest" before publishing the docs, as it
...
...
@@ -413,7 +412,7 @@ PUBLISH_DOCDIR = $(docdir)
endif
publish-binary-dist
::
$(PublishCp)
-r
$(PUBLISH_DOCDIR)
/
*
$(PublishLocation)
/docs
$(
call
nTimes,10,
$(PublishCp)
-r
"
$(PUBLISH_DOCDIR)
"
/
*
$(PublishLocation)
/docs
)
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
.
Attach a 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