mirror of https://gitlab.com/ita1024/waf.git
print the latex command executed
This commit is contained in:
parent
995c8a231d
commit
86b25fa523
|
@ -114,6 +114,7 @@ class tex(Task.Task):
|
|||
:rtype: int
|
||||
"""
|
||||
bld = self.generator.bld
|
||||
Logs.info('runner: %r' % cmd)
|
||||
try:
|
||||
if not kw.get('cwd', None):
|
||||
kw['cwd'] = bld.cwd
|
||||
|
@ -467,11 +468,13 @@ def apply_tex(self):
|
|||
task.dep_nodes.append(n)
|
||||
|
||||
# texinputs is a nasty beast
|
||||
if hasattr(self, 'texinputs'):
|
||||
if hasattr(self, 'texinputs_nodes'):
|
||||
task.texinputs_nodes = self.texinputs_nodes
|
||||
else:
|
||||
task.texinputs_nodes = [node.parent, node.parent.get_bld(), self.path, self.path.get_bld()]
|
||||
lst = os.environ.get('TEXINPUTS', '')
|
||||
if self.env.TEXINPUTS:
|
||||
lst += os.pathsep + self.env.TEXINPUTS
|
||||
if lst:
|
||||
lst = lst.split(os.pathsep)
|
||||
for x in lst:
|
||||
|
|
Loading…
Reference in New Issue