summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdoc/build.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/build.sh b/doc/build.sh
new file mode 100755
index 0000000..699e31d
--- /dev/null
+++ b/doc/build.sh
@@ -0,0 +1,19 @@
1#!/bin/bash
2set -e
3
4# Change PATH environment variable
5export PATH=/rdtools/docbook/jdk1.6.0_45/bin:/rdtools/docbook/fop-2.1:$PATH
6
7# Get script arguments
8docs_path=$1
9if [ "$docs_path" = "" ]
10then
11 echo " usage: build.sh <build_doc_path>"
12 exit
13fi
14
15# Build documentation
16echo make dist BOOK_DIST_DIR=${docs_path} BOOK_DIST_ECLIPSE=yes
17make dist BOOK_DIST_DIR=${docs_path} BOOK_DIST_ECLIPSE=yes
18
19echo "Build documentation was successful. Documentation can be found here ${docs_path}"