task to copy docs to website dir

This commit is contained in:
Christian Weiske 2011-07-21 23:10:53 +02:00
parent 71b486e533
commit 6f93d0b020

View file

@ -283,8 +283,8 @@
<target name="deploy-sf-pear" depends="check,package"
description="Update PEAR channel on sourceforge"
<target name="deploy-sf-pear" depends="check,package,docs-to-website"
description="Update PEAR channel + website on sourceforge"
>
<available file="${websitedir}"
type="dir" property="available.websitedir"
@ -348,6 +348,16 @@
/>
</target>
<target name="docs-to-website" depends="build-docs"
description="copy docs to website directory"
>
<copy todir="${websitedir}/docs">
<fileset dir="dist/docs">
<include name="**"/>
</fileset>
</copy>
</target>
<target name="check"
description="Check variables"