| 1 |
#!/bin/sh
|
| 2 |
|
| 3 |
if [ -z "$languages" ]; then
|
| 4 |
# Please add languages only if they build properly.
|
| 5 |
languages="en cs fr ja nl pt_BR de" # es
|
| 6 |
fi
|
| 7 |
|
| 8 |
if [ -z "$architectures" ]; then
|
| 9 |
architectures="alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc"
|
| 10 |
fi
|
| 11 |
|
| 12 |
if [ -z "$destination" ]; then
|
| 13 |
destination="/tmp/manual"
|
| 14 |
fi
|
| 15 |
|
| 16 |
[ -e "$destination" ] || mkdir -p "$destination"
|
| 17 |
|
| 18 |
for lang in $languages; do
|
| 19 |
for arch in $architectures; do
|
| 20 |
if [ -n "$noarchdir" ]; then
|
| 21 |
destsuffix="$lang"
|
| 22 |
else
|
| 23 |
destsuffix="${lang}.${arch}"
|
| 24 |
fi
|
| 25 |
./buildone.sh "$arch" "$lang"
|
| 26 |
mkdir "$destination/$destsuffix"
|
| 27 |
mv *.html "$destination/$destsuffix"
|
| 28 |
./clear.sh
|
| 29 |
done
|
| 30 |
done
|