Mention that makeglossaries is a program when raising the error

This commit is contained in:
Thomas Nagy 2013-08-27 12:11:50 +02:00
parent 4cbee2c4ed
commit f14314faa2
1 changed files with 2 additions and 2 deletions

View File

@ -307,8 +307,8 @@ class tex(Task.Task):
continue
if g_glossaries_re.findall(ct):
if not self.env['MAKEGLOSSARIES']:
raise Errors.WafError ("No 'makeglossaries'")
if not self.env.MAKEGLOSSARIES:
raise Errors.WafError("The program 'makeglossaries' is missing!")
Logs.warn('calling makeglossaries')
self.env.SRCFILE = base
self.check_status('error when calling makeglossaries %s' % base, self.makeglossaries_fun())