From 4cf42d6dc39e7473f45445b72a7ecfe6f1524176 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 27 Aug 2012 07:59:07 +0000 Subject: Add language-parallel build support. --- build/build.sh | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'build/build.sh') diff --git a/build/build.sh b/build/build.sh index 910e9eeb6..b621c705a 100755 --- a/build/build.sh +++ b/build/build.sh @@ -48,28 +48,9 @@ for lang in $languages; do if [ ! -d ../$lang ] && uses_po; then generate_xml fi - - for arch in $architectures; do - echo "Architecture: $arch" - if [ -n "$noarchdir" ]; then - destsuffix="$lang" - else - destsuffix="${lang}.${arch}" - fi - ./buildone.sh "$arch" "$lang" "$formats" - mkdir -p "$destination/$destsuffix" - for format in $formats; do - if [ "$format" = html ]; then - mv ./build.out/html/* "$destination/$destsuffix" - else - # Do not fail because of missing PDF support for some languages - mv ./build.out/install.$lang.$format "$destination/$destsuffix" 2>/dev/null || true - fi - done - - ./clear.sh - done done + +make languages="$languages" architectures="$architectures" destination="$destination" formats="$formats" PRESEED="../en/appendix/preseed.xml" if [ -f $PRESEED ] && [ -f preseed.pl ] ; then -- cgit v1.2.3