aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-05-12 10:01:46 +0200
committerBen Gamari <ben@smart-cactus.org>2016-05-12 10:05:33 +0200
commitaf1a8689da1990da9a152ae8a0e51976f2a27ff6 (patch)
tree0b7bc2846311644396fc23c3ef26c8ddd850a00e
parent67fbe48b9e6830d231b19c3d72960d3e9e137ea0 (diff)
doc: Fix GHC clean rule
Apparently GHC's build system doesn't permit wildcards in clean paths.
-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