mirror of https://github.com/acidanthera/audk.git
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:
parent
e2f34bcdaf
commit
c779483003
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue