Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
79324024
Commit
79324024
authored
May 25, 2010
by
Ian Lynagh
Browse files
When haddocking, we need the dependencies to have been built
as haddock loads the .hi files with the GHC API.
parent
68c1816d
Changes
1
Hide whitespace changes
Inline
Side-by-side
rules/haddock.mk
View file @
79324024
...
...
@@ -31,7 +31,7 @@ endif
.PHONY
:
html_$1
html_$1
:
$$($$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_FILE)
$$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_DEPS
=
$
$(
foreach
n,
$$
(
$1_$2_DEPS
)
,
$$
(
$$
n_HADDOCK_FILE
))
$$($1_PACKAGE)-$$($1_$2_VERSION)_HADDOCK_DEPS
=
$
$(
foreach
n,
$$
(
$1_$2_DEPS
)
,
$$
(
$$
n_HADDOCK_FILE
)
$$
(
$$
n_dist-install_v_LIB
)
)
ifeq
"$$(HSCOLOUR_SRCS)" "YES"
$1_$2_HADDOCK_FLAGS
+=
--source-module
=
src/%
{
MODULE/./-
}
.html
--source-entity
=
src/%
{
MODULE/./-
}
.html#%
{
NAME
}
...
...
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