Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
4e077ce3
Commit
4e077ce3
authored
Sep 21, 2010
by
Ian Lynagh
Browse files
Fixes for when HADDOCK_DOCS=NO
parent
43e54151
Changes
2
Hide whitespace changes
Inline
Side-by-side
compiler/ghc.mk
View file @
4e077ce3
...
...
@@ -369,7 +369,12 @@ endif
# exist.
ifeq
"$(GhcProfiled)" "YES"
compiler_stage2_CONFIGURE_OPTS
+=
--ghc-option
=
-auto-all
compiler_stage2_CONFIGURE_OPTS
+=
--disable-library-vanilla
# We seem to still build the vanilla libraries even if we say
# --disable-library-vanilla, but installation then fails, as Cabal
# doesn't copy the vanilla .hi files, but ghc-pkg complains about
# their absence when we register the package. So for now, we just
# leave the vanilla libraries enabled.
# compiler_stage2_CONFIGURE_OPTS += --disable-library-vanilla
compiler_stage2_CONFIGURE_OPTS
+=
--disable-library-for-ghci
compiler_stage2_CONFIGURE_OPTS
+=
--ghc-pkg-option
=
--force
endif
...
...
ghc.mk
View file @
4e077ce3
...
...
@@ -789,8 +789,10 @@ TAGS: TAGS_compiler
# Installation
install
:
install_packages install_libs install_libexecs install_headers
\
install_libexec_scripts install_bins install_docs
\
install_topdirs
install_libexec_scripts install_bins install_topdirs
ifeq
"$(HADDOCK_DOCS)" "YES"
install
:
install_docs
endif
install_bins
:
$(INSTALL_BINS)
$(INSTALL_DIR)
"
$(DESTDIR)$(bindir)
"
...
...
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