Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 1513 → Rev 1514

/help/rebuild.sh
2,9 → 2,10
#
# builds AMB-based help files for each available language
# this is a Linux shell script that requires following tools to be in path:
# - ambpack - http://amb.osdn.io/
# - ambpack - http://amb.osdn.io/
# - utf8tocp - https://utf8tocp.sourceforge.io/
# - zip
# - zip - https://infozip.sourceforge.net/
# - advzip - http://www.advancemame.it/
#
 
set -e
14,11 → 15,11
##### amb-pack all languages #####
 
# EN
echo "SVARDOS HELP SYSTEM ver $VER" > help-en/title
echo "SVARDOS HELP SYSTEM [$VER]" > help-en/title
ambpack c help-en help-en.amb
 
# DE
echo "SVARDOS-HILFESYSTEM ver $VER" > help-de/title
echo "SVARDOS-HILFESYSTEM [$VER]" > help-de/title
cp -n help-en/* help-de/
utf8tocp -d 858 help-de/unicode.map
ambpack cc help-de help-de.amb
25,7 → 26,7
rm help-de/unicode.map
 
# BR
echo "SISTEMA DE AJUDA DO SVARDOS ver $VER" > help-br/title
echo "SISTEMA DE AJUDA DO SVARDOS [$VER]" > help-br/title
cp -n help-en/* help-br/
utf8tocp -d 858 help-br/unicode.map
ambpack cc help-br help-br.amb
40,3 → 41,6
echo "description: SvarDOS help (manual)" >> appinfo/help.lsm
zip -9rkDX -m help-$VER.svp appinfo bin help
rmdir appinfo bin help
 
# repack the ZIP file with advzip for extra space saving
advzip -zp4k -i128 help-$VER.svp