File: build_docs.sh

package info (click to toggle)
fdb 5.19.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 78,856 kB
  • sloc: cpp: 36,785; sh: 4,380; python: 1,334; makefile: 32; ansic: 8
file content (14 lines) | stat: -rwxr-xr-x 387 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env bash
set -ex

script_dir="$(dirname "$(readlink -f "$0")")"
sphinx_executable="${SPHINX_EXECUTABLE:-sphinx-build}"
version_str=$(cat "${script_dir}/../../VERSION")
output_dir=${DOCBUILD_OUTPUT:-doc-build}

echo "PWD=$(pwd)"

"${sphinx_executable}" -j auto -E -a -T \
    -Dversion=${version_str} \
    -Drelease=${version_str} \
    "${script_dir}" "${output_dir}/sphinx"