Browse Source

move the svnversion.h handling in build function

tags/v1.9.11-RC1
Karl Lindén 10 years ago
parent
commit
9cbc7901e0
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      wscript

+ 3
- 2
wscript View File

@@ -714,8 +714,6 @@ def build(bld):
print("make[1]: Entering directory `" + os.getcwd() + "/" + out2 + "'")

if not bld.variant:
if not os.access('svnversion.h', os.R_OK):
create_svnversion_task(bld)
if bld.env['BUILD_WITH_32_64'] == True:
waflib.Options.commands.append(bld.cmd + '_' + lib32)

@@ -726,6 +724,9 @@ def build(bld):
# only the wscript in common/ knows how to handle variants
return

if not os.access('svnversion.h', os.R_OK):
create_svnversion_task(bld)

if bld.env['IS_LINUX']:
bld.add_subdirs('linux')
bld.add_subdirs('example-clients')


Loading…
Cancel
Save