File: makeSphinx.sh

package info (click to toggle)
coreboot 25.09%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 217,084 kB
  • sloc: ansic: 1,685,313; sh: 15,803; python: 11,200; perl: 10,186; asm: 8,519; makefile: 5,179; cpp: 4,724; pascal: 2,327; ada: 1,985; yacc: 1,264; lex: 731; sed: 75; ruby: 5; lisp: 5; awk: 4
file content (14 lines) | stat: -rwxr-xr-x 393 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env ash

source ${VIRTUAL_ENV}/bin/activate

if [ "$1" == "livehtml" ]; then
  echo "Starting live documentation build"
  cd /data-in/Documentation && make livesphinx BUILDDIR=/tmp/build
else
  echo "Starting production documentation build"
  cd /data-in/Documentation \
    && make sphinx BUILDDIR=/tmp/build \
    && rm -rf /data-out/* \
    && mv /tmp/build/html/* /data-out/
fi