7 if awk -f extract.awk -vexname=$fig $input > /dev/null; then
8 echo generating ${fig}.fig
9 opt=`awk -f extract.awk -vexname=$fig $input |
10 sed '/^ *OPT:/s/^.*: *//p;d'`
11 awk -f extract.awk -vexname=$fig $input | \
12 ../ragel/ragel | ../rlgen-dot/rlgen-dot $opt | \
13 dot -Tfig > ${fig}.fig;
15 echo "$0: internal error: figure $fig not found in $input" >&2