Bonmin/doc/option_pages/genOptionsDocs.sh
raw| 1 | #!/bin/bash |
| 2 | |
| 3 | categories="bonmin filter ipopt" |
| 4 | |
| 5 | mkdir -p html |
| 6 | |
| 7 | for f in $categories ; do |
| 8 | awk -v NAME=$f '{sub(/TEMPLATE/,NAME) ; print}' options_list_TEMPLATE.tex > options_list_$f.tex |
| 9 | ./genHtml.sh options_list_$f.tex |
| 10 | mv tmp.html options_list_$f.html |
| 11 | done |
| 12 | |
| 13 | cp ../bonmin.css html/ |