+rm -r $SRC_DIR/doc/help
+rm $SRC_DIR/doc/help.odt
+
+if [ -f /usr/share/sgml/docbook/xsl-stylesheets/html/chunk.xsl ]
+then
+ echo "Building doc..."
+ make -C $SRC_DIR/doc/xmlrpc
+ make -C $SRC_DIR/doc/help
+else
+ echo "No XSL stylesheets, skipping doc build"
+fi