Remove the -Wno-unused-parameter flag from the compile options now that it won't...
[synfig.git] / synfig-docs / trunk / scripts / build.sh
1 LANGSAVAL="en ca"
2 TARGETS="pdf multiple-html ps"
3 if [ -n "$1" ]; then
4         LANGSAVAL=$1
5 fi
6 if [ -n "$2" ]; then
7         TARGETS=$2
8 fi
9 for i in $LANGSAVAL
10         do
11         echo =========== LANG: $i ===============
12         for j in $TARGETS
13                 do
14                 echo =------ TARGET: $j ----------
15                 if [ ! -d "result/$i" ]; then
16                         mkdir -p "result/$i"
17                         mkdir -p "result/$i/out-$j"
18                 fi
19                 make SGMLDIR=$i $j
20                 mv result/$i/tmp-$j/*.$j result/$i/out-$j 2>/dev/null
21         done
22 done