glyph cache & kerning
[lbook_fbreader.git] / fbreader / scripts / install_toolbar_and_menu.sh
blobaacae05a9ded21ed282400921b1f74936c0eafbf
1 #!/bin/sh
3 if [ $# != 2 ]; then
4 echo -e "usage\n $0 <platform> <install_dir>";
5 exit 0;
6 fi;
8 case "$1" in
9 desktop|win32|pepperpad3)
10 toolbar_file=data/default/toolbar.full.xml
12 zaurus_640x480)
13 toolbar_file=data/default/toolbar.zaurus.xml
16 toolbar_file=data/default/toolbar.short.xml
18 esac;
20 case "$1" in
21 maemo|zaurus_640x480|zaurus_240x320|pma400)
22 menubar_file=data/default/menubar.xml
24 moto)
25 menubar_file=data/default/menubar.moto.xml
29 esac;
31 if [ "$toolbar_file" != "" ]; then
32 install -m 0644 $toolbar_file $2/toolbar.xml;
33 fi;
35 if [ "$menubar_file" != "" ]; then
36 install -m 0644 $menubar_file $2/menubar.xml;
37 fi;