aboutsummaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml14
1 files changed, 12 insertions, 2 deletions
diff --git a/build.xml b/build.xml
index 9627c01..9ca4c74 100644
--- a/build.xml
+++ b/build.xml
@@ -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"