Subversion Repositories SvarDOS

Rev

Rev 662 | Rev 1176 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
281 mateuszvis 1
#!/bin/sh
645 mateusz.vi 2
#
3
# builds AMB-based help files for each available language
4
# this is a Linux shell script that requires following tools to be in path:
5
#  - ambpack
662 mateusz.vi 6
#  - utf8tocp
645 mateusz.vi 7
#  - zip
8
#
9
 
281 mateuszvis 10
set -e
11
 
288 mateuszvis 12
VER=`date +%Y%m%d`
13
 
662 mateusz.vi 14
##### amb-pack all languages #####
288 mateuszvis 15
 
662 mateusz.vi 16
# EN
17
echo "SVARDOS HELP SYSTEM ver $VER" > help-en/title
18
ambpack c help-en help-en.amb
19
 
20
# DE
21
echo "SVARDOS-HILFESYSTEM ver $VER" > help-de/title
22
utf8tocp -d 858 help-de/unicode.map
23
ambpack cc help-de help-de.amb
24
rm help-de/unicode.map
25
 
281 mateuszvis 26
mkdir bin
27
mkdir help
28
mkdir appinfo
29
cp help.bat bin
30
mv help-*.amb help
288 mateuszvis 31
echo "version: $VER" >> appinfo/help.lsm
286 mateuszvis 32
echo "description: SvarDOS help (manual)" >> appinfo/help.lsm
696 mateusz.vi 33
zip -9rkDX -m help.svp appinfo bin help
645 mateusz.vi 34
rmdir appinfo bin help