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