summaryrefslogtreecommitdiffstats
path: root/jjb/pharos/build-docu.sh
blob: 680686eb687d78f6e83f3ffc6d1fb00b01963e61 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
for file in $(find . -type f -iname '*.rst'); do
        file_cut="${file%.*}"
        html_file=$file_cut".html"
        pdf_file=$file_cut".pdf"
        rst2html $file > $html_file
        rst2pdf $file -o $pdf_file
done