aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-07-21 23:10:53 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-07-21 23:10:53 +0200
commit6f93d0b0205cb6b5fe0741070e96e56f7739a25f (patch)
tree86a7718ed9465ad573b2ed70d2089fd2b0065da9
parent71b486e533c3280a11728613c136710bba990475 (diff)
downloadsemanticscuttle-6f93d0b0205cb6b5fe0741070e96e56f7739a25f.tar.gz
semanticscuttle-6f93d0b0205cb6b5fe0741070e96e56f7739a25f.tar.bz2
task to copy docs to website dir
-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"