[commit: ghc] master: Build system: always allow me to clean haddock (48ed2f1)

git at git.haskell.org git at git.haskell.org
Sat May 30 15:08:50 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/48ed2f128ac0e550022826154e449a5cc55f2d3a/ghc

>---------------------------------------------------------------

commit 48ed2f128ac0e550022826154e449a5cc55f2d3a
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Wed May 27 21:38:18 2015 +0200

    Build system: always allow me to clean haddock
    
    [skip ci]


>---------------------------------------------------------------

48ed2f128ac0e550022826154e449a5cc55f2d3a
 ghc.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ghc.mk b/ghc.mk
index be3469a..d918087 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



More information about the ghc-commits mailing list