mirror of https://gitlab.com/ita1024/waf.git
Cosmetic changes
This commit is contained in:
parent
6c9e7c6233
commit
1979e7425c
|
@ -658,6 +658,7 @@ class BuildContext(Context.Context):
|
|||
for i in range(len(self.groups)):
|
||||
if id(g) == id(self.groups[i]):
|
||||
self.current_group = i
|
||||
break
|
||||
else:
|
||||
self.current_group = idx
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ HEXVERSION=0x1080000
|
|||
WAFVERSION="1.8.0"
|
||||
"""Constant updated on new releases"""
|
||||
|
||||
WAFREVISION="d43e1278cf14c9605adfd1bdbc4c5b21bfe8d9dd"
|
||||
WAFREVISION="6c9e7c6233c1d97b39d4aa7327068de74dfcfe7e"
|
||||
"""Constant updated on new releases"""
|
||||
|
||||
ABI = 98
|
||||
|
|
|
@ -348,3 +348,20 @@ def set_incdirs(self, val):
|
|||
self.export_includes = val
|
||||
TaskGen.task_gen.export_incdirs = property(None, set_incdirs)
|
||||
|
||||
def install_dir(self, path):
|
||||
if not path:
|
||||
return []
|
||||
|
||||
destpath = Utils.subst_vars(path, self.env)
|
||||
|
||||
if self.is_install > 0:
|
||||
info('* creating %s' % destpath)
|
||||
Utils.check_dir(destpath)
|
||||
elif self.is_install < 0:
|
||||
info('* removing %s' % destpath)
|
||||
try:
|
||||
os.remove(destpath)
|
||||
except OSError:
|
||||
pass
|
||||
Build.BuildContext.install_dir = install_dir
|
||||
|
||||
|
|
Loading…
Reference in New Issue