/[d-i]/trunk/manual/build/build.sh
ViewVC logotype

Diff of /trunk/manual/build/build.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 26419 by fjpop-guest, Tue Mar 15 22:42:32 2005 UTC revision 26420 by fjpop-guest, Thu Mar 24 00:43:24 2005 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    
3    set -e
4    
5  [ -r ./po_functions ] || exit 1  [ -r ./po_functions ] || exit 1
6  . ./po_functions  . ./po_functions
7    
# Line 42  for lang in $languages; do Line 44  for lang in $languages; do
44      check_po      check_po
45      if [ -n "$USES_PO" ] ; then      if [ -n "$USES_PO" ] ; then
46          generate_xml          generate_xml
         RET=$?; [ $RET -ne 0 ] && continue  
47      fi      fi
48    
49      for arch in $architectures; do      for arch in $architectures; do
# Line 58  for lang in $languages; do Line 59  for lang in $languages; do
59              if [ "$format" = html ]; then              if [ "$format" = html ]; then
60                  mv ./build.out/html/*.html "$destination/$destsuffix"                  mv ./build.out/html/*.html "$destination/$destsuffix"
61              else              else
62                  mv ./build.out/install.$lang.$format "$destination/$destsuffix"                  # Do not fail because of missing PDF support for Japanese
63                    mv ./build.out/install.$lang.$format "$destination/$destsuffix" || true
64              fi              fi
65          done          done
66    
# Line 66  for lang in $languages; do Line 68  for lang in $languages; do
68      done      done
69    
70      # Delete generated XML files      # Delete generated XML files
71      [ -n "$USES_PO" ] && rm -r ../$lang      [ -n "$USES_PO" ] && rm -r ../$lang || true
72  done  done
73    
74  PRESEED="../en/appendix/example-preseed.xml"  PRESEED="../en/appendix/example-preseed.xml"

Legend:
Removed from v.26419  
changed lines
  Added in v.26420

  ViewVC Help
Powered by ViewVC 1.1.5