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
f875cc87
Commit
f875cc87
authored
Jun 03, 2010
by
Simon Marlow
Browse files
fix --source-entity option passed to Haddock: we needed to escape a #
parent
291d3f7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
rules/haddock.mk
View file @
f875cc87
...
...
@@ -34,7 +34,7 @@ html_$1 : $$($$($1_PACKAGE)-$$($1_$2_VERSION)_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
}
$1_$2_HADDOCK_FLAGS
+=
--source-module
=
src/%
{
MODULE/./-
}
.html
--source-entity
=
src/%
{
MODULE/./-
}
.html
\
#
%
{
NAME
}
endif
ifneq
"$$(BINDIST)" "YES"
...
...
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