AppNote 010 progress
[yosys.git] / manual / make_appnotes.sh
1 #!/bin/bash
2
3 set -ex
4 for job in APPNOTE_010_Verilog_to_BLIF
5 do
6 [ -f $job.ok -a $job.ok -nt $job.tex ] && continue
7 old_md5=$([ -f $job.aux ] && md5sum < $job.aux)
8 while
9 pdflatex -shell-escape -halt-on-error $job.tex
10 new_md5=$(md5sum < $job.aux)
11 [ "$old_md5" != "$new_md5" ]
12 do
13 old_md5="$new_md5"
14 done
15 touch $job.ok
16 done
17