aboutsummaryrefslogtreecommitdiff
path: root/doc/ghc.mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-05-11 22:25:46 +0200
committerBen Gamari <ben@smart-cactus.org>2016-05-11 23:15:14 +0200
commit3e087827207f53bc151fe410ef195d1399dcaf22 (patch)
treee5251f8888adeed87667e0dad32b76e631b800fc /doc/ghc.mk
parent22d1666f864a8c3a718a615ed5b7b88647525caf (diff)
doc: Add html as an all-target for ghc
Otherwise the html documentation won't be installed for binary-dist.
Diffstat (limited to 'doc/ghc.mk')
-rw-r--r--doc/ghc.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ghc.mk b/doc/ghc.mk
index 02839fe8..830c3bbc 100644
--- a/doc/ghc.mk
+++ b/doc/ghc.mk
@@ -11,11 +11,11 @@
# -----------------------------------------------------------------------------
ifeq "$(BUILD_SPHINX_HTML)" "YES"
-INSTALL_HTML_DOC_DIRS += utils/haddock/doc/haddock
-
html : html_utils/haddock/doc
$(eval $(call clean-target,utils/haddock/doc,sphinx,utils/haddock/doc/haddock utils/haddock/doc/.build-*))
+$(eval $(call all-target,utils/haddock/doc,html_utils/haddock/doc))
+INSTALL_HTML_DOC_DIRS += utils/haddock/doc/haddock
endif
html_utils/haddock/doc :