]> git.lizzy.rs Git - rust.git/commitdiff
docs: disable PDF docs when latex _isn't_ present
authorTim Cuthbertson <tim@gfxmonk.net>
Wed, 11 Feb 2015 06:16:37 +0000 (17:16 +1100)
committerTim Cuthbertson <tim@gfxmonk.net>
Wed, 11 Feb 2015 06:16:37 +0000 (17:16 +1100)
mk/docs.mk

index 71b253379aa01961e67032518d94c0cc4af70a06..2a5a847d2a42508e4e8caa20a0eea284d9eccefa 100644 (file)
@@ -87,7 +87,7 @@ endif
 
 # Check for xelatex
 
-ifeq ($(CFG_XELATEX),)
+ifneq ($(CFG_XELATEX),)
     CFG_LATEX := $(CFG_XELATEX)
     XELATEX = 1
   else