summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-05-27 21:38:18 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-05-30 16:49:56 +0200
commit48ed2f128ac0e550022826154e449a5cc55f2d3a (patch)
tree5f2c0595b138c1a7e4cbe3d45a2d446b8dd5d66a /ghc.mk
parenta49070e5b16929551b94212363c9a36a1e0f36fd (diff)
downloadhaskell-48ed2f128ac0e550022826154e449a5cc55f2d3a.tar.gz
Build system: always allow me to clean haddock
[skip ci]
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index be3469a6fc..d918087407 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -651,6 +651,9 @@ endif
ifeq "$(HADDOCK_DOCS)" "YES"
BUILD_DIRS += utils/haddock
BUILD_DIRS += utils/haddock/doc
+else ifeq "$(CLEANING)" "YES"
+BUILD_DIRS += utils/haddock
+BUILD_DIRS += utils/haddock/doc
endif
BUILD_DIRS += compiler