diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-09-03 19:58:31 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-09-03 19:58:31 +0200 |
commit | 7b4e49e1a69712dcb2943a15660f92ea3655233c (patch) | |
tree | 27276564d4895b312118ef7224e2d0b16822cfe2 /admin/generic.py | |
parent | 704ef6982dc25952f1dde89ee6d26e5091ef83f2 (diff) | |
download | tdeio-locate-7b4e49e1a69712dcb2943a15660f92ea3655233c.tar.gz tdeio-locate-7b4e49e1a69712dcb2943a15660f92ea3655233c.zip |
Additional k => tde renaming and fixes
Diffstat (limited to 'admin/generic.py')
-rw-r--r-- | admin/generic.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/generic.py b/admin/generic.py index 0837fb9..b86d0b7 100644 --- a/admin/generic.py +++ b/admin/generic.py @@ -86,7 +86,7 @@ def pprint(env, col, str, label=''): class genobj: def __init__(self, val, env): - if not val in "program shlib kioslave staticlib".split(): + if not val in "program shlib tdeioslave staticlib".split(): print "unknown genobj given: "+val env.Exit(1) @@ -224,7 +224,7 @@ class genobj: self.env.pprint('RED',"no target given to object - self.target") self.env.Exit(1) if not self.env.has_key('nosmart_includes'): self.env.AppendUnique(CPPPATH=['./']) - if self.type == "kioslave": self.libprefix='' + if self.type == "tdeioslave": self.libprefix='' if len(self.includes)>0: self.env.AppendUnique(CPPPATH=self.fixpath(self.includes)) if len(self.cxxflags)>0: self.env.AppendUnique(CXXFLAGS=self.env.make_list(self.cxxflags)) @@ -250,7 +250,7 @@ class genobj: # the target to return - no more self.env modification is allowed after this part ret=None - if self.type=='shlib' or self.type=='kioslave': + if self.type=='shlib' or self.type=='tdeioslave': ret=self.env.bksys_shlib(self.p_localtarget, self.p_localsource, self.instdir, self.libprefix, self.vnum) elif self.type=='program': @@ -613,7 +613,7 @@ def generate(env): for dir in ldirs: lenv.BuildDir(buildto+os.path.sep+dir, dir) - #valid_targets = "program shlib kioslave staticlib".split() + #valid_targets = "program shlib tdeioslave staticlib".split() SConsEnvironment.bksys_install = bksys_install SConsEnvironment.bksys_shlib = bksys_shlib SConsEnvironment.subdirs = subdirs |