verilog: add sv_maps iterators
[ghdl-vlg.git] / doc / make.sh
blobb2852f777e827942bf196376b5377ab73f5b0f6d
1 #!/usr/bin/env sh
3 set -e
5 cd "$(dirname $0)"
7 docker build -t ghdl/sphinx -f- . <<EOF
8 FROM ghdl/vunit:llvm
9 COPY requirements.txt /
10 RUN pip3 install -r /requirements.txt
11 EOF
13 dcmd="docker run --rm -u $(id -u) -e PYTHONPATH=//tmp/src/python -v /$(pwd)/..://tmp/src -w //tmp/src/doc"
15 $dcmd ghdl/sphinx sh -c "make html latex man"
17 set +e
19 $dcmd btdi/latex:latest bash -c "
20 cd _build/latex
21 #make
22 pdflatex -interaction=nonstopmode GHDL.tex;
23 makeindex -s python.ist GHDL.idx;
24 pdflatex -interaction=nonstopmode GHDL.tex;
27 set -e