Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 904743 - Allow multiple targets on the same rule with includedeps…
Browse files Browse the repository at this point in the history
… in pymake. r=gps
  • Loading branch information
glandium committed Aug 22, 2013
1 parent b13c585 commit 365695c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions build/pymake/pymake/parserdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,10 @@ def _executeweak(self, makefile, context):
if not deps:
return
targets = self.targetexp.resolvesplit(makefile, makefile.variables)
assert len(targets) == 1
target = targets[0]
rule = data.Rule(deps, self.doublecolon, loc=self.targetexp.loc, weakdeps=True)
makefile.gettarget(target).addrule(rule)
makefile.foundtarget(target)
for target in targets:
makefile.gettarget(target).addrule(rule)
makefile.foundtarget(target)
context.currule = rule

def _execute(self, makefile, context):
Expand Down

0 comments on commit 365695c

Please sign in to comment.