Fix typo and add another dependency.

This commit is contained in:
Amar Takhar 2016-01-19 19:33:59 -05:00 committed by Amar Takhar
parent 14bbcb1ea9
commit 89f234787e

View File

@ -52,8 +52,8 @@ def cmd_configure(ctx):
ctx.load('tex')
if not ctx.env.PDFLATEX:
conf.fatal('The program LaTex is required')
if not ctx.env.PDFLATEX or not ctx.env.MAKEINDEX:
ctx.fatal('The programs pdflatex and makeindex are required')
ctx.find_program("sphinx-build", var="BIN_SPHINX_BUILD", mandatory=True)
ctx.find_program("aspell", var="BIN_ASPELL", mandatory=False)