[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/unsermake
From: Frerich Raabe <raabe () kde ! org>
Date: 2005-09-01 16:33:32
Message-ID: 1125592412.370974.17658.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 455907 by raabe:
- Reverted to state of revision 377393.
M +13 -8 target.py
--- trunk/kdenonbeta/unsermake/target.py #455906:455907
@@ -147,14 +147,19 @@
ntargs = string.split(ntarg)
- # Not to be mixed with a Klingon animal
- for targ in string.split(ntarg):
- nt = Target(targ, self.deps, self._rules,
- phony=self.is_phony,
- user_specified=0)
- nt.user_specified = self.user_specified
- nt.compile_target = self.compile_target
- makefile.addTarget(nt)
+ if len(ntargs) == 1:
+ self.target = ntarg
+ makefile.addTarget(self)
+ else:
+ self.target = ntargs[0]
+ makefile.addTarget(self)
+ for index in range(1, len(ntargs)):
+ nt = Target(ntargs[index], self.deps, self._rules,
+ phony=self.is_phony,
+ user_specified=0)
+ nt.user_specified = self.user_specified
+ nt.compile_target = self.compile_target
+ makefile.addTarget(nt)
def expand_rules(self, makefile, replace=1):
rlen = len(self._rules)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic