Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chaitanya Koparkar
GHC
Commits
dbd4b569
Commit
dbd4b569
authored
Sep 03, 2010
by
Ian Lynagh
Browse files
Give haddock per-package source entity paths; fixes #3810
parent
6f259e0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
rules/haddock.mk
View file @
dbd4b569
...
...
@@ -50,7 +50,7 @@ endif
--title
=
"
$$
(
$1_PACKAGE
)-
$$
(
$1_$2_VERSION
)
$
$(
if
$
$(
strip
$$
(
$1_$2_SYNOPSIS
))
,:
$
$(
strip
$$
(
$1_$2_SYNOPSIS
))
,
)
"
\
--prologue
=
"
$1
/
$2
/haddock-prologue.txt"
\
$
$(
foreach
mod,
$$
(
$1_$2_HIDDEN_MODULES
)
,--hide
=
$
$(mod)
)
\
$
$(
foreach
pkg,
$$
(
$1_$2_DEPS
)
,
$
$(
if
$$
(
$
$(pkg)
_HADDOCK_FILE
)
,--read-interface
=
../
$
$(pkg)
$
$(comma)
$$
(
$
$(pkg)
_HADDOCK_FILE
)))
\
$
$(
foreach
pkg,
$$
(
$1_$2_DEPS
)
,
$
$(
if
$$
(
$
$(pkg)
_HADDOCK_FILE
)
,--read-interface
=
../
$
$(pkg)
$
$(comma)
../
$
$(pkg)
/src/%
{
MODULE/./-
}
.html
\#
%
{
NAME
}
$
$(comma)
$$
(
$
$(pkg)
_HADDOCK_FILE
)))
\
$
$(
foreach
opt,
$$
(
$1_$2_v_ALL_HC_OPTS
)
,--optghc
=
$
$(opt)
)
\
$$
(
$1_$2_HADDOCK_FLAGS
)
$$
(
$1_$2_HADDOCK_OPTS
)
\
$$
(
$1_$2_HS_SRCS
)
\
...
...
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