[commit: ghc] master: Build system: allow bindist without docs (116ba5e)

git at git.haskell.org git at git.haskell.org
Thu Dec 17 20:25:38 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/116ba5e702916a938ab72970437efa5fd26287b7/ghc

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

commit 116ba5e702916a938ab72970437efa5fd26287b7
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Tue Oct 27 23:43:58 2015 +0100

    Build system: allow bindist without docs
    
    Useful for testing 'make binary-dist-prep' when HADDOCK_DOCS=NO.
    
    Reviewed by: bgamari
    
    Differential Revision: https://phabricator.haskell.org/D1648


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

116ba5e702916a938ab72970437efa5fd26287b7
 ghc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ghc.mk b/ghc.mk
index 4455eb9..ba9aead 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -1039,7 +1039,7 @@ $(eval $(call bindist-list,.,\
     $(INSTALL_LIBRARY_DOCS) \
     $(addsuffix /*,$(INSTALL_HTML_DOC_DIRS)) \
     docs/index.html \
-    compiler/stage2/doc \
+    $(wildcard compiler/stage2/doc) \
     $(wildcard libraries/*/dist-install/doc/) \
     $(wildcard libraries/*/*/dist-install/doc/) \
     $(filter-out settings,$(INSTALL_LIBS)) \



More information about the ghc-commits mailing list