summaryrefslogtreecommitdiffstats
path: root/agl-documentation/gen_all_docs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'agl-documentation/gen_all_docs.sh')
-rwxr-xr-xagl-documentation/gen_all_docs.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/agl-documentation/gen_all_docs.sh b/agl-documentation/gen_all_docs.sh
new file mode 100755
index 0000000..daf1fb7
--- /dev/null
+++ b/agl-documentation/gen_all_docs.sh
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+cd $(dirname $0)
+CURDIR=$(pwd)
+
+FORMAT=pdf
+#DEBUG_FLAG=--debug
+DEBUG_FLAG=
+
+DRY=
+[ "$1" = "-dry" ] && DRY=echo
+
+OUT_DIR=./build
+[ -d $OUT_DIR ] || mkdir -p $OUT_DIR
+
+cat <<EOF | { while read doc_dir ; do $DRY iot-gendocs.sh -rp $doc_dir -o $OUT_DIR $DEBUG_FLAG $FORMAT; done }
+./sdk-devkit
+./host-configuration
+./candevstudio
+EOF
+