aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-05-11 20:38:58 +0200
committerBen Gamari <ben@smart-cactus.org>2016-05-11 23:15:11 +0200
commit22d1666f864a8c3a718a615ed5b7b88647525caf (patch)
treee07020d19566fc5ea4264082d80760143791b6af
parent1f05bf72992f603c1fa19aff525d77bf26956c52 (diff)
doc: Add clean targets
-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 :