Update paths starting in waf-1.8.*

This commit is contained in:
Thomas Nagy 2017-08-19 10:15:23 +02:00
parent fc468105e9
commit 8161991558
No known key found for this signature in database
GPG Key ID: 49B4C67C05277AAA
4 changed files with 12 additions and 12 deletions

View File

@ -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!

View File

@ -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:

View File

@ -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

View File

@ -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