blob: 0c3c2e475e7a852d181f4b2acaee7be50b3b4466 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
#!/bin/sh
if [ -z "$languages" ]; then
# Please add languages only if they build properly.
# languages="en cs es fr ja nl pt_BR" # ca da de el eu it ru
# Buildlist of languages to be included on RC2 CD's
languages="ca cs da de en es eu fi fr it ja nl pt_BR ru tl"
# languages="ja"
fi
if [ -z "$architectures" ]; then
architectures="alpha arm hppa i386 ia64 m68k mips mipsel powerpc s390 sparc"
# architectures="i386"
fi
if [ -z "$destination" ]; then
destination="/var/www/d-i/"
fi
if [ -z "$formats" ]; then
formats="newps newpdf html htmlone text"
#formats="html"
fi
[ -e "$destination" ] || mkdir -p "$destination"
if [ "$official_build" ]; then
# Propagate this to children.
export official_build
fi
#noarchdir="yes"
for lang in $languages; do
for arch in $architectures; do
# for format in $formats; do
if [ -n "$noarchdir" ]; then
destsuffix="$lang"
else
destsuffix="${lang}/${arch}"
fi
./buildone_ng.sh $arch $lang $formats -d "$destination/$destsuffix"
# done
done
done
|