Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alex D
GHC
Commits
76315628
Commit
76315628
authored
Apr 20, 2013
by
ian@well-typed.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix haddocking
We weren't seting the _DO_HADDOCK variables early enough.
parent
a8de9248
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ghc.mk
ghc.mk
+5
-5
No files found.
ghc.mk
View file @
76315628
...
...
@@ -500,6 +500,11 @@ endif
# --------------------------------
# Misc package-related settings
# Run Haddock for the packages that will be installed. We need to handle
# compiler specially due to the different dist directory name.
$(foreach
p,$(INSTALL_PACKAGES),$(eval
$p_dist-install_DO_HADDOCK
=
YES
))
compiler_stage2_DO_HADDOCK
=
YES
BOOT_PKG_CONSTRAINTS
:=
\
$(
foreach
d,
$(PACKAGES_STAGE0)
,
\
$(
foreach
p,
$(
basename
$(
notdir
$(
wildcard
libraries/
$d
/
*
.cabal
)))
,
\
...
...
@@ -733,11 +738,6 @@ endif
# -----------------------------------------------
# Haddock-related bits
# Run Haddock for the packages that will be installed. We need to handle
# compiler specially due to the different dist directory name.
$(foreach
p,$(INSTALL_PACKAGES),$(eval
$p_dist-install_DO_HADDOCK
=
YES
))
compiler_stage2_DO_HADDOCK
=
YES
# Build the Haddock contents and index
ifeq
"$(HADDOCK_DOCS)" "YES"
libraries/dist-haddock/index.html
:
$(haddock_INPLACE) $(ALL_HADDOCK_FILES)
...
...
Write
Preview
Markdown
is supported
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