You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
waf/waf-1.3.2-latex.patch

43 lines
1.1 KiB

Index: wafadmin/Tools/tex.py
===================================================================
--- wafadmin/Tools/tex.py (Revision 2338)
+++ wafadmin/Tools/tex.py (Revision 2339)
@@ -2,7 +2,7 @@
# encoding: utf-8
# Thomas Nagy, 2006 (ita)
-"LaTeX/PDFLaTeX support"
+"TeX/LaTeX/PDFLaTeX support"
import os, re
import Utils, Params, Action, Object, Runner, Scan
@@ -33,14 +33,14 @@
# add another loop for the tex include paths?
debug("trying %s%s" % (path, k), 'tex')
try:
- os.stat(path+k)
+ os.stat(abs+os.sep+path+k)
except OSError:
continue
found = path+k
node = curdirnode.find_source(found)
nodes.append(node)
else:
- debug('could not find'+path, 'tex')
+ debug('could not find %s' % path, 'tex')
names.append(path)
debug("found the following : %s and names %s" % (nodes, names), 'tex')
@@ -59,11 +59,8 @@
exec_cmd = Runner.exec_command
com = '%s %s %s' % (env[command], env.get_flat(command+'FLAGS'), '-interaction=batchmode')
-
node = task.m_inputs[0]
reldir = node.bld_dir(env)
-
-
srcfile = node.srcpath(env)
lst = []