mirror of
https://github.com/opencv/opencv.git
synced 2024-12-21 22:17:59 +08:00
16 lines
317 B
Bash
16 lines
317 B
Bash
#!/bin/bash
|
|
|
|
LANGUAGES="${LANGUAGES:=c cpp py}"
|
|
|
|
mkdir -p $LANGUAGES
|
|
tput clear
|
|
python latex.py ../online-opencv.tex $LANGUAGES || exit
|
|
|
|
for D in $LANGUAGES
|
|
do
|
|
echo $D
|
|
mkdir -p $D
|
|
cp conf.py $D
|
|
TEXINPUTS=$PWD: sphinx-build -w $D/sphinx.errors -D "lang=$D" -b html -d _build/doctrees/$D $D _build/html/$D
|
|
done
|