1
0
Fork 0
mirror of synced 2025-04-03 05:13:37 +03:00

Fixing build to place package.xml at root of package.

This commit is contained in:
Jonathan H. Wage 2010-05-25 15:52:13 -04:00
parent 2db8ad30a9
commit 642c863bd3
2 changed files with 8 additions and 10 deletions

View file

@ -1,4 +1,4 @@
version_name=2.0.0-ALPHA2 version_name=2.0.0BETA2
version=2.0.0 version=2.0.0
stability=alpha stability=alpha
build.dir=build build.dir=build

View file

@ -17,8 +17,6 @@
--> -->
<fileset id="shared-artifacts" dir="."> <fileset id="shared-artifacts" dir=".">
<include name="LICENSE"/> <include name="LICENSE"/>
<include name="COPYRIGHT"/>
<include name="CHANGELOG"/>
</fileset> </fileset>
<!-- <!--
@ -146,7 +144,7 @@
--> -->
<target name="build-packages" depends="build-orm"> <target name="build-packages" depends="build-orm">
<d51pearpkg2 baseinstalldir="/" dir="${build.dir}/orm/DoctrineORM-${version}"> <d51pearpkg2 baseinstalldir="/" dir="${build.dir}/orm">
<name>DoctrineORM</name> <name>DoctrineORM</name>
<summary>Doctrine Object Relationl Mapper</summary> <summary>Doctrine Object Relationl Mapper</summary>
<channel>pear.doctrine-project.org</channel> <channel>pear.doctrine-project.org</channel>
@ -162,13 +160,13 @@
<php minimum_version="5.3.0" /> <php minimum_version="5.3.0" />
<pear minimum_version="1.6.0" recommended_version="1.6.1" /> <pear minimum_version="1.6.0" recommended_version="1.6.1" />
</dependencies> </dependencies>
<dirroles key="bin">script</dirroles> <dirroles key="DoctrineORM-${version}/bin">script</dirroles>
<replacement path="bin/doctrine" type="pear-config" from="@php_bin@" to="php_bin" /> <replacement path="DoctrineORM-${version}/bin/doctrine" type="pear-config" from="@php_bin@" to="php_bin" />
<replacement path="bin/doctrine.php" type="pear-config" from="@php_bin@" to="php_bin" /> <replacement path="DoctrineORM-${version}/bin/doctrine.php" type="pear-config" from="@php_bin@" to="php_bin" />
<replacement path="bin/doctrine.php" type="pear-config" from="@bin_dir@" to="bin_dir" /> <replacement path="DoctrineORM-${version}/bin/doctrine.php" type="pear-config" from="@bin_dir@" to="bin_dir" />
<release> <release>
<install as="doctrine" name="bin/doctrine" /> <install as="doctrine" name="DoctrineORM-${version}/bin/doctrine" />
<install as="doctrine.php" name="bin/doctrine.php" /> <install as="doctrine.php" name="DoctrineORM-${version}/bin/doctrine.php" />
</release> </release>
</d51pearpkg2> </d51pearpkg2>
<tar destfile="${dist.dir}/DoctrineORM-${version_name}.tgz" basedir="${build.dir}/orm" compression="gzip" /> <tar destfile="${dist.dir}/DoctrineORM-${version_name}.tgz" basedir="${build.dir}/orm" compression="gzip" />