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
aa1c1b2a
Commit
aa1c1b2a
authored
Nov 18, 2014
by
Joachim Breitner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build xhtml and haddock only when `HADDOCK_DOCS=YES`
This fixes #8558
parent
b9096df6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
ghc.mk
ghc.mk
+6
-0
No files found.
ghc.mk
View file @
aa1c1b2a
...
...
@@ -425,7 +425,10 @@ PACKAGES_STAGE2 += haskell98
PACKAGES_STAGE2
+=
haskell2010
endif
ifeq
"$(HADDOCK_DOCS)" "YES"
PACKAGES_STAGE1
+=
xhtml
endif
ifeq
"$(Windows_Target)" "NO"
ifneq
"$(TargetOS_CPP)" "ios"
PACKAGES_STAGE1
+=
terminfo
...
...
@@ -665,8 +668,11 @@ else ifneq "$(findstring clean,$(MAKECMDGOALS))" ""
BUILD_DIRS
+=
libraries/integer-gmp2/gmp
endif
ifeq
"$(HADDOCK_DOCS)" "YES"
BUILD_DIRS
+=
utils/haddock
BUILD_DIRS
+=
utils/haddock/doc
endif
BUILD_DIRS
+=
compiler
BUILD_DIRS
+=
utils/hsc2hs
BUILD_DIRS
+=
utils/ghc-pkg
...
...
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