summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-10-27 23:43:58 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2015-12-17 20:25:14 +0100
commit116ba5e702916a938ab72970437efa5fd26287b7 (patch)
tree3a50255bf049fddc1bb9a92fdefb7174b9cfb3e3 /ghc.mk
parent272e1cc811e5d693d8a36e63c90a1ece68a0495a (diff)
downloadhaskell-116ba5e702916a938ab72970437efa5fd26287b7.tar.gz
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
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index 4455eb9ce6..ba9aead576 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)) \