about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-02-08 23:24:33 +0000
committerbors <bors@rust-lang.org>2015-02-08 23:24:33 +0000
commit00df3251f6142c5108a694b954ef40e22e795cba (patch)
tree613f1aee1be93d50ef3a4dd4e3f2bafccb58123f
parent012e9643e4d6f6fa449ca4f4e5e3fc9fb8e536db (diff)
parent7d4f0689199f4bf5d3f01188c9fac5a797e87b68 (diff)
downloadrust-00df3251f6142c5108a694b954ef40e22e795cba.tar.gz
rust-00df3251f6142c5108a694b954ef40e22e795cba.zip
Auto merge of #21992 - steveklabnik:gh17220, r=alexcrichton
None of the others work, so let's remove them.

Fixes #17220.

r? @brson 
-rwxr-xr-xconfigure2
-rw-r--r--mk/docs.mk23
2 files changed, 6 insertions, 19 deletions
diff --git a/configure b/configure
index 2127f2c656d..a80dafcf047 100755
--- a/configure
+++ b/configure
@@ -653,9 +653,7 @@ probe CFG_GRUN             grun
 probe CFG_FLEX             flex
 probe CFG_BISON            bison
 probe CFG_PANDOC           pandoc
-probe CFG_PDFLATEX         pdflatex
 probe CFG_XELATEX          xelatex
-probe CFG_LUALATEX         lualatex
 probe CFG_GDB              gdb
 probe CFG_LLDB             lldb
 
diff --git a/mk/docs.mk b/mk/docs.mk
index 8af47700f25..71b253379aa 100644
--- a/mk/docs.mk
+++ b/mk/docs.mk
@@ -85,27 +85,16 @@ else
 HTML_DEPS :=
 endif
 
-# Check for the various external utilities for the EPUB/PDF docs:
-
-ifeq ($(CFG_LUALATEX),)
-  $(info cfg: no lualatex found, deferring to xelatex)
-  ifeq ($(CFG_XELATEX),)
-    $(info cfg: no xelatex found, deferring to pdflatex)
-    ifeq ($(CFG_PDFLATEX),)
-      $(info cfg: no pdflatex found, disabling LaTeX docs)
-      NO_PDF_DOCS = 1
-	else
-      CFG_LATEX := $(CFG_PDFLATEX)
-    endif
-  else
+# Check for xelatex
+
+ifeq ($(CFG_XELATEX),)
     CFG_LATEX := $(CFG_XELATEX)
     XELATEX = 1
-  endif
-else
-  CFG_LATEX := $(CFG_LUALATEX)
+  else
+    $(info cfg: no xelatex found, disabling LaTeX docs)
+    NO_PDF_DOCS = 1
 endif
 
-
 ifeq ($(CFG_PANDOC),)
 $(info cfg: no pandoc found, omitting PDF and EPUB docs)
 ONLY_HTML_DOCS = 1