# HG changeset patch # User Rok Strnisa # Date 1278589971 -3600 # Node ID 6fcf9e5cb86605f0622378f1765811277e957c74 # Parent b32704b34da7e22e1df3d94ae2a95d238d1b3d63 A script to build the documentation for xen-api.hg. Signed-off-by: Rok Strnisa diff -r b32704b34da7 -r 6fcf9e5cb866 rebuild-docs --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rebuild-docs Thu Jul 08 12:52:51 2010 +0100 @@ -0,0 +1,22 @@ +#!/bin/sh + +echo "This is just a temporary fix. Ideally, the effect would be the same when" +echo "just running the following command: make doc." + +echo "[Installing v6 proprietary code...]" +cd /myrepos/v6.hg +./install.sh . ../xen-api.hg/ + +echo "[Making xen-api documentation...]" +cd ../xen-api.hg +make doc + +if [ -e ../xen-api-libs.hg ] +then + echo "[Found xen-api-libs.hg: making its documentation...]" + cd ../xen-api-libs.hg + make doc + cd ../xen-api.hg +fi + +echo "Open 'ocaml/doc/index.html' to explore the generated documentation."