]> mj.ucw.cz Git - leo.git/blob - mk-all
Průvodce: Styling
[leo.git] / mk-all
1 #!/bin/sh
2 set -e
3 make
4 rm -f output-*
5 for a in 0 1 ; do
6         for b in 0 1 ; do
7                 out="output"
8                 case $a in
9                         0)      out="$out-dijk" ;;
10                         1)      out="$out-astar" ;;
11                         *)      exit 1 ;;
12                 esac
13                 case $b in
14                         0)      out="$out-unidir" ;;
15                         1)      out="$out-bidir" ;;
16                         2)      out="$out-bidir2" ;;
17                         *)      exit 1 ;;
18                 esac
19                 echo "### Running with astar=$a bidir=$b ($out) ###"
20                 run/bin/leo -SGraph.AStar=$a -SGraph.BiDir=$b -SMap.SVGOutput=$out.svg
21                 inkscape -Do $out.pdf $out.svg
22         done
23 done