Subversion Repositories SvarDOS

Rev

Rev 646 | Rev 696 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#!/bin/sh
#
# builds AMB-based help files for each available language
# this is a Linux shell script that requires following tools to be in path:
#  - ambpack
#  - utf8tocp
#  - zip
#

set -e

VER=`date +%Y%m%d`

##### amb-pack all languages #####

# EN
echo "SVARDOS HELP SYSTEM ver $VER" > help-en/title
ambpack c help-en help-en.amb

# DE
echo "SVARDOS-HILFESYSTEM ver $VER" > help-de/title
utf8tocp -d 858 help-de/unicode.map
ambpack cc help-de help-de.amb
rm help-de/unicode.map

mkdir bin
mkdir help
mkdir appinfo
cp help.bat bin
mv help-*.amb help
echo "version: $VER" >> appinfo/help.lsm
echo "description: SvarDOS help (manual)" >> appinfo/help.lsm
zip -9rkDX -m help.zip appinfo bin help
rmdir appinfo bin help
mv help.zip ../packages/