Inform SCons of the svnrev.h dependency so it isn't subject

to a race with the creation of Build/foo/Source/Common/Src.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6899 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Soren Jorvang 2011-01-23 21:28:04 +00:00
parent 7cd7c2838b
commit 9f48012442
2 changed files with 10 additions and 3 deletions

View File

@ -74,6 +74,10 @@
<References> <References>
</References> </References>
<Files> <Files>
<File
RelativePath=".\da.po"
>
</File>
<File <File
RelativePath=".\de.po" RelativePath=".\de.po"
> >

View File

@ -3,10 +3,13 @@
Import('env') Import('env')
import os import os
import sys import sys
from SconsTests import utils
utils.GenerateRevFile(env['flavor'], Dir('#Source/Core/Common/Src').abspath + def createVersion(env, target, source):
os.sep + 'svnrev_template.h', 'svnrev.h') from SconsTests import utils
utils.GenerateRevFile(env['flavor'], source[0].path, target[0].path)
env.Command('svnrev.h', 'svnrev_template.h',
[Delete('${TARGET.srcpath}'), createVersion])
files = [ files = [
"ABI.cpp", "ABI.cpp",