aboutsummaryrefslogtreecommitdiff
path: root/doc/ghc.mk
diff options
context:
space:
mode:
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 :