aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--doc/ghc.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 2b92b56d..f27d151c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,8 @@ Changes in version 2.17.1
* Fixed Makefile for GHC installation
+ * Fixed clean rule of GHC Makefile
+
Changes in version 2.17.0 (not released)
* Support typesetting of mathematical expressions via Mathjax (#397)
diff --git a/doc/ghc.mk b/doc/ghc.mk
index 830c3bbc..3e53168e 100644
--- a/doc/ghc.mk
+++ b/doc/ghc.mk
@@ -13,7 +13,7 @@
ifeq "$(BUILD_SPHINX_HTML)" "YES"
html : html_utils/haddock/doc
-$(eval $(call clean-target,utils/haddock/doc,sphinx,utils/haddock/doc/haddock utils/haddock/doc/.build-*))
+$(eval $(call clean-target,utils/haddock/doc,sphinx,utils/haddock/doc/haddock utils/haddock/doc/.build-html utils/haddock/doc/.build-pdf))
$(eval $(call all-target,utils/haddock/doc,html_utils/haddock/doc))
INSTALL_HTML_DOC_DIRS += utils/haddock/doc/haddock
endif