]> xenbits.xensource.com Git - xcp/xen-api.git/commitdiff
A script to build the documentation for xen-api.hg.
authorRok Strnisa <rok.strnisa@citrix.com>
Thu, 8 Jul 2010 11:52:51 +0000 (12:52 +0100)
committerRok Strnisa <rok.strnisa@citrix.com>
Thu, 8 Jul 2010 11:52:51 +0000 (12:52 +0100)
Signed-off-by: Rok Strnisa <rok.strnisa@citrix.com>
rebuild-docs [new file with mode: 0755]

diff --git a/rebuild-docs b/rebuild-docs
new file mode 100755 (executable)
index 0000000..c1cf9e9
--- /dev/null
@@ -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."