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
5ac6359e
Commit
5ac6359e
authored
Jun 04, 2010
by
Simon Marlow
Browse files
Pass --no-tmp-comp-dir to Haddock (see comment)
parent
86ffe1a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
rules/haddock.mk
View file @
5ac6359e
...
...
@@ -44,6 +44,7 @@ ifeq "$$(HSCOLOUR_SRCS)" "YES"
endif
"
$
$(TOP)
/
$
$(INPLACE_BIN)
/haddock"
\
--odir
=
"
$1
/
$2
/doc/html/
$$
(
$1_PACKAGE
)"
\
--no-tmp-comp-dir
\
--dump-interface
=
$$
(
$$
(
$1_PACKAGE
)
-
$$
(
$1_$2_VERSION
)
_HADDOCK_FILE
)
\
--html
\
--title
=
"
$$
(
$1_PACKAGE
)-
$$
(
$1_$2_VERSION
)
$
$(
if
$
$(
strip
$$
(
$1_$2_SYNOPSIS
))
,:
$
$(
strip
$$
(
$1_$2_SYNOPSIS
))
,
)
"
\
...
...
@@ -55,6 +56,12 @@ endif
$$
(
$1_$2_HS_SRCS
)
\
$$
(
$1_$2_EXTRA_HADDOCK_SRCS
)
# --no-tmp-comp-dir above is important: it saves a few minutes in a
# validate. This flag lets Haddock use the pre-compiled object files
# for the package rather than rebuilding the modules of the package in
# a temporary directory. Haddock needs to build the package when it
# uses the Template Haskell or Annotations extensions, for example.
# Make the haddocking depend on the library .a file, to ensure
# that we wait until the library is fully build before we haddock it
$$($$($1_PACKAGE)_HADDOCK_FILE)
:
$$($1_$2_v_LIB)
...
...
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