task to copy docs to website dir
This commit is contained in:
parent
71b486e533
commit
6f93d0b020
14
build.xml
14
build.xml
@ -283,8 +283,8 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<target name="deploy-sf-pear" depends="check,package"
|
<target name="deploy-sf-pear" depends="check,package,docs-to-website"
|
||||||
description="Update PEAR channel on sourceforge"
|
description="Update PEAR channel + website on sourceforge"
|
||||||
>
|
>
|
||||||
<available file="${websitedir}"
|
<available file="${websitedir}"
|
||||||
type="dir" property="available.websitedir"
|
type="dir" property="available.websitedir"
|
||||||
@ -348,6 +348,16 @@
|
|||||||
/>
|
/>
|
||||||
</target>
|
</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"
|
<target name="check"
|
||||||
description="Check variables"
|
description="Check variables"
|
||||||
|
Loading…
Reference in New Issue
Block a user