summaryrefslogtreecommitdiffstats
path: root/agl-documentation/gen_all_docs.sh
blob: daf1fb7e0643feafb38097c25a60c913d68fa971 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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