Fix #41: Use correct SQL datetime format for tokens
[grauphel.git] / build.xml
index b271557..4349f17 100644 (file)
--- a/build.xml
+++ b/build.xml
     </tar>
   </target>
 
     </tar>
   </target>
 
+ <target name="docs" description="render documentation">
+  <rst file="README.rst"/>
+ </target>
+
+ <target name="update-website" depends="docs">
+  <exec command="xmlstarlet sel -t -c '/_:html/_:body/_:div' README.html
+   | xmllint --format -
+   |grep -v '?xml version'
+   > ~/Dev/html/cweiske.de/www/grauphel.htm"/>
+ </target>
+
 </project>
 </project>