2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-24 10:15:05 +01:00

Issue 1128

This commit is contained in:
Thomas Nagy 2012-03-25 10:33:57 +02:00
parent 67a3320c4a
commit c7a41fc9f6

View File

@ -1239,8 +1239,15 @@ class StepContext(BuildContext):
BuildContext.compile(self)
return
targets = None
if self.targets and self.targets != '*':
targets = self.targets.split(',')
for g in self.groups:
for tg in g:
if targets and tg.name not in targets:
continue
try:
f = tg.post
except AttributeError: