Added check to skip generating target.txt and tools_def.txt if they already exist.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1550 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jwang36 2006-09-18 10:36:58 +00:00
parent 3e73f377a8
commit e5890ee5f8
1 changed files with 18 additions and 2 deletions

View File

@ -75,8 +75,24 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/> rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>
</catalog>]]> </catalog>]]>
</echo> </echo>
<copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt" overwrite="false"/> <if>
<copy file="Conf/target.template" tofile="Conf/target.txt" overwrite="false"/> <not>
<available file="Conf/tools_def.txt"/>
</not>
<then>
<copy file="Conf/tools_def.template" tofile="Conf/tools_def.txt"/>
</then>
</if>
<if>
<not>
<available file="Conf/target.txt"/>
</not>
<then>
<copy file="Conf/target.template" tofile="Conf/target.txt"/>
</then>
</if>
<if> <if>
<not> <not>
<available file="Conf/FrameworkDatabase.db"/> <available file="Conf/FrameworkDatabase.db"/>