Subversion Repositories SvarDOS

Rev

Rev 645 | Rev 662 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 645 Rev 646
1
#!/bin/sh
1
#!/bin/sh
2
#
2
#
3
# builds AMB-based help files for each available language
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:
4
# this is a Linux shell script that requires following tools to be in path:
5
#  - ambpack
5
#  - ambpack
6
#  - zip
6
#  - zip
7
#
7
#
8
 
8
 
9
set -e
9
set -e
10
 
10
 
11
VER=`date +%Y%m%d`
11
VER=`date +%Y%m%d`
12
 
12
 
13
# amb-pack all languages
13
# amb-pack all languages
14
for d in ./help-?? ; do
14
for d in ./help-?? ; do
15
ambpack c $d $d.amb
15
ambpack cc $d $d.amb
16
done
16
done
17
 
17
 
18
mkdir bin
18
mkdir bin
19
mkdir help
19
mkdir help
20
mkdir appinfo
20
mkdir appinfo
21
cp help.bat bin
21
cp help.bat bin
22
mv help-*.amb help
22
mv help-*.amb help
23
echo "version: $VER" >> appinfo/help.lsm
23
echo "version: $VER" >> appinfo/help.lsm
24
echo "description: SvarDOS help (manual)" >> appinfo/help.lsm
24
echo "description: SvarDOS help (manual)" >> appinfo/help.lsm
25
cp help/help-*.amb ../website/help/
25
cp help/help-*.amb ../website/help/
26
zip -9rkDX -m help.zip appinfo bin help
26
zip -9rkDX -m help.zip appinfo bin help
27
rmdir appinfo bin help
27
rmdir appinfo bin help
28
mv help.zip ../packages/
28
mv help.zip ../packages/
29
 
29