Lines Matching refs:prereq
16 def add(self, prereq):
17 self.prereqs.add(prereq)
26 def add(self, tgt, prereq):
31 p = self.lines.get(prereq)
33 p = Dependency(prereq)
34 self.lines[prereq] = p
54 def trace(self, tgt, prereq):
59 return self.__trace(d, prereq)
61 def __trace(self, d, prereq):
64 if d.tgt == prereq:
69 recursed = self.__trace(pre, prereq)
78 print " trace TARGET PREREQ Print the paths from TARGET to PREREQ"
103 (tgt,prereq) = line.split(':', 1)
105 prereq = prereq.strip()
106 deps.add(tgt, prereq)
120 for prereq in d.prereqs:
121 print prereq.tgt
124 prereq = split[2]
126 print "from %s to %s" % (tgt, prereq)
127 trace = deps.trace(tgt, prereq)