aboutsummaryrefslogtreecommitdiff
path: root/doc/ghc.mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-04-10 19:31:39 +0200
committerBen Gamari <ben@smart-cactus.org>2016-04-10 23:46:22 +0200
commitea63a59882c6d1ecd5e4147d3500d664c9431dd8 (patch)
tree7ca0f20d3c45bb275691b19a7ba6422a585b570d /doc/ghc.mk
parent1308be34399d1819e39f6ad1ea41928681110a4a (diff)
doc: Only install if BUILD_SPHINX_HTML==YES
Fixes GHC #11818. (cherry picked from commit c6d6a18d85e5e2d9bb5904e6919e8a8d7e31c4c5)
Diffstat (limited to 'doc/ghc.mk')
-rw-r--r--doc/ghc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/ghc.mk b/doc/ghc.mk
index 52a2f2a5..ca639574 100644
--- a/doc/ghc.mk
+++ b/doc/ghc.mk
@@ -10,7 +10,9 @@
#
# -----------------------------------------------------------------------------
+ifeq "$$(BUILD_SPHINX_HTML)" "YES"
INSTALL_HTML_DOC_DIRS += utils/haddock/doc/haddock
+endif
html : html_utils/haddock/doc