soc/intel/xeon_sp: Allow OS to control LTR and AER
[coreboot2.git] / util / docker / doc.coreboot.org / makeSphinx.sh
blob577e487b73601672981dcbb211c52771beba0f78
1 #!/usr/bin/env ash
3 source ${VIRTUAL_ENV}/bin/activate
5 if [ "$1" == "livehtml" ]; then
6 echo "Starting live documentation build"
7 cd /data-in/Documentation && make livesphinx BUILDDIR=/tmp/build
8 else
9 echo "Starting production documentation build"
10 cd /data-in/Documentation \
11 && make sphinx BUILDDIR=/tmp/build \
12 && rm -rf /data-out/* \
13 && mv /tmp/build/html/* /data-out/