aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-07-21 23:15:18 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-07-21 23:15:18 +0200
commitd970754ff1e2a8cc416f90ef71f5848d788f9515 (patch)
tree1cf2c1381ab75ccc5dd73eee719ed8887803b1c7
parent6f93d0b0205cb6b5fe0741070e96e56f7739a25f (diff)
downloadsemanticscuttle-d970754ff1e2a8cc416f90ef71f5848d788f9515.tar.gz
semanticscuttle-d970754ff1e2a8cc416f90ef71f5848d788f9515.tar.bz2
doc deployment task
-rw-r--r--build.xml16
1 files changed, 13 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 9ca4c74..8997366 100644
--- a/build.xml
+++ b/build.xml
@@ -283,7 +283,7 @@
- <target name="deploy-sf-pear" depends="check,package,docs-to-website"
+ <target name="deploy-sf-pear" depends="check,package"
description="Update PEAR channel + website on sourceforge"
>
<available file="${websitedir}"
@@ -348,17 +348,27 @@
/>
</target>
- <target name="docs-to-website" depends="build-docs"
- description="copy docs to website directory"
+
+ <target name="deploy-docs" depends="build-docs"
+ description="sync docs to sourceforge website"
>
<copy todir="${websitedir}/docs">
<fileset dir="dist/docs">
<include name="**"/>
</fileset>
</copy>
+
+ <exec
+ command="rsync -avP -e ssh . ${sfuser},${sfproject}@web.sourceforge.net:htdocs/docs"
+ dir="${websitedir}/docs"
+ escape="false" checkreturn="false"
+ passthru="true"
+ />
</target>
+
+
<target name="check"
description="Check variables"
>