-
Notifications
You must be signed in to change notification settings - Fork 22
/
buildall.sh
22 lines (18 loc) · 690 Bytes
/
buildall.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
if [ $# -eq 0 ]; then
echo "Building all docs in place."
loc="."
else
echo "Building in target directory: $1"
loc=$1
fi
echo "multi-server-install.adoc..."
asciidoctor -b html5 -o $loc/multi.html multi-server-install.adoc
asciidoctor-pdf -a allow-uri-read -o $loc/multi-server-install.pdf multi-server-install.adoc
echo "single-server-install.adoc..."
asciidoctor -b html5 -o $loc/single.html index-single-server-install.adoc
asciidoctor-pdf -a allow-uri-read -o $loc/single-server-install.pdf index-single-server-install.adoc
echo "upgrade.adoc..."
asciidoctor -b html5 -o $loc/upgrade.html upgrade.adoc
asciidoctor-pdf -o $loc/upgrade.pdf upgrade.adoc
echo "done"