mirror of https://gitlab.com/ita1024/waf.git
Update paths starting in waf-1.8.*
This commit is contained in:
parent
fc468105e9
commit
8161991558
|
@ -30,14 +30,14 @@ Let's start with a new wscript file in the directory '/tmp/myproject'::
|
|||
def build(bld):
|
||||
print("build!")
|
||||
|
||||
We will also use a Waf binary file, for example waf-1.8.8, which we will copy in the project directory::
|
||||
We will also use a Waf binary file, for example waf-1.9.14, which we will copy in the project directory::
|
||||
|
||||
$ cd /tmp/myproject
|
||||
$ wget https://waf.io/waf-1.8.8
|
||||
$ wget https://waf.io/waf-1.9.14
|
||||
|
||||
To execute the project, we will simply call the command as an argument to ``waf``::
|
||||
|
||||
$ ./waf-1.8.8 configure build
|
||||
$ ./waf-1.9.14 configure build
|
||||
configure!
|
||||
build!
|
||||
|
||||
|
|
|
@ -492,7 +492,7 @@ class Dist(Context.Context):
|
|||
try:
|
||||
return self.excl
|
||||
except AttributeError:
|
||||
self.excl = Node.exclude_regs + ' **/waf-1.8.* **/.waf-1.8* **/waf3-1.8.* **/.waf3-1.8* **/*~ **/*.rej **/*.orig **/*.pyc **/*.pyo **/*.bak **/*.swp **/.lock-w*'
|
||||
self.excl = Node.exclude_regs + ' **/waf-1.* **/.waf-1.* **/waf3-1.* **/.waf3-1.* **/*~ **/*.rej **/*.orig **/*.pyc **/*.pyo **/*.bak **/*.swp **/.lock-w*'
|
||||
if Context.out_dir:
|
||||
nd = self.root.find_node(Context.out_dir)
|
||||
if nd:
|
||||
|
|
|
@ -589,10 +589,10 @@ class vsnode_project_view(vsnode_alias):
|
|||
vsnode_alias.__init__(self, ctx, node, name)
|
||||
self.tg = self.ctx() # fake one, cannot remove
|
||||
self.exclude_files = Node.exclude_regs + '''
|
||||
waf-1.8.*
|
||||
waf3-1.8.*/**
|
||||
.waf-1.8.*
|
||||
.waf3-1.8.*/**
|
||||
waf-1.*
|
||||
waf3-1.*/**
|
||||
.waf-1.*
|
||||
.waf3-1.*/**
|
||||
**/*.sdf
|
||||
**/*.suo
|
||||
**/*.ncb
|
||||
|
|
|
@ -638,10 +638,10 @@ class vsnode_project_view(vsnode_alias):
|
|||
vsnode_alias.__init__(self, ctx, node, name)
|
||||
self.tg = self.ctx() # fake one, cannot remove
|
||||
self.exclude_files = Node.exclude_regs + '''
|
||||
waf-1.8.*
|
||||
waf3-1.8.*/**
|
||||
.waf-1.8.*
|
||||
.waf3-1.8.*/**
|
||||
waf-1.*
|
||||
waf3-1.*/**
|
||||
.waf-1.*
|
||||
.waf3-1.*/**
|
||||
**/*.sdf
|
||||
**/*.suo
|
||||
**/*.ncb
|
||||
|
|
Loading…
Reference in New Issue