File: build.sh

package info (click to toggle)
synfig 1.5.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 59,132 kB
  • sloc: cpp: 109,639; sh: 6,121; makefile: 1,458; csh: 243; perl: 238; python: 124; ruby: 73
file content (22 lines) | stat: -rwxr-xr-x 431 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
LANGSAVAL="en ca"
TARGETS="pdf multiple-html ps"
if [ -n "$1" ]; then
	LANGSAVAL=$1
fi
if [ -n "$2" ]; then
	TARGETS=$2
fi
for i in $LANGSAVAL
	do
	echo =========== LANG: $i ===============
	for j in $TARGETS
		do
		echo =------ TARGET: $j ----------
		if [ ! -d "result/$i" ]; then
			mkdir -p "result/$i"
			mkdir -p "result/$i/out-$j"
		fi
		make SGMLDIR=$i $j
		mv result/$i/tmp-$j/*.$j result/$i/out-$j 2>/dev/null
	done
done