aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/ghc.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/ghc.mk b/doc/ghc.mk
index 590d1c5f..02839fe8 100644
--- a/doc/ghc.mk
+++ b/doc/ghc.mk
@@ -14,6 +14,8 @@ 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-*))
endif
html_utils/haddock/doc :