Removed extra lines and spaces in the catalog.xml file creation, also wrapped it in a test for availability

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1712 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lhauch 2006-10-10 18:40:50 +00:00
parent e2f34bcdaf
commit c779483003
1 changed files with 9 additions and 3 deletions

View File

@ -75,8 +75,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
</target>
<target name="makeCatalog">
<echo file="XMLSchema/catalog.xml">
<![CDATA[<?xml version="1.0"?>
<if>
<not>
<available file="XMLSchema/catalog.xml"/>
</not>
<then>
<echo file="XMLSchema/catalog.xml"><![CDATA[<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.xsd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<rewriteSystem systemIdStartString="http://www.TianoCore.org/2006/Edk2.0/"
@ -84,7 +88,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<rewriteURI uriStartString="http://www.TianoCore.org/2006/Edk2.0/"
rewritePrefix="file:/]]>${env.WORKSPACE}<![CDATA[/Tools/XMLSchema/"/>
</catalog>]]>
</echo>
</echo>
</then>
</if>
<if>
<not>
<available file="Conf/tools_def.txt"/>