Added verbosity for the script that builds documentation
[releng.git] / jjb / functest / build-docu.sh
1 #!/bin/bash
2 set -xv
3 for file in $(find . -type f -iname '*.rst'); do
4         file_cut="${{file%.*}}"
5         html_file=$file_cut".html"
6         pdf_file=$file_cut".pdf"
7         rst2html $file > $html_file
8         rst2pdf $file -o $pdf_file
9 done