summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClara Negrescu <Clara.Negrescu@enea.com>2020-06-24 10:12:35 +0200
committerClara Negrescu <Clara.Negrescu@enea.com>2020-06-24 14:17:44 +0200
commit998838096e6e5cd302838f4d672010784eb2f219 (patch)
treec5de0394e9742e6581de6549912e356fcb9893d3
parent5f7b867d5d07cfb7c523ee715921c7aa99c3925d (diff)
downloadnfv-access-documentation-998838096e6e5cd302838f4d672010784eb2f219.tar.gz
Script for building documentation to be used in ELTF
Change-Id: Ie387263e0fe6b4ad7d3efdafda9e74534a144904
-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}"