summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2020-05-31 10:59:46 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-06-25 03:54:39 -0400
commit4acc2934952f4849c2082015d9bebef446d46545 (patch)
tree0473e7926f36a73666c3e5e6e3adfd9c2303667c /ghc.mk
parent30e42652ed895c3ed086e7834be46f93ba1cc61b (diff)
downloadhaskell-4acc2934952f4849c2082015d9bebef446d46545.tar.gz
hadrian/make: Detect makeindex
Previously we would simply assume that makeindex was available. Now we correctly detect it in `configure` and respect this conclusion in hadrian and make.
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/ghc.mk b/ghc.mk
index 02e3b79a2d..91cc5588c4 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -185,6 +185,11 @@ $(error BUILD_SPHINX_PDF=YES, but `xelatex` was not found. \
Install `xelatex`, then rerun `./configure`. \
See https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation)
endif
+ifeq "$(MAKEINDEX)" ""
+$(error BUILD_SPHINX_PDF=YES, but `makeindex` was not found. \
+ Install `xelatex`, then rerun `./configure`. \
+ See https://gitlab.haskell.org/ghc/ghc/wikis/building/preparation)
+endif
endif
ifeq "$(HSCOLOUR_SRCS)" "YES"