blob: 56fce8e0a7b4723f14d6c78f60646daa11ea80cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/bash
set -x -u
SRC=../../data
DST=../../android/assets
# Remove old links
rm -rf $DST
mkdir $DST
files=(01_dejavusans.ttf 02_wqy-microhei.ttf 03_jomolhari-id-a3d.ttf 04_padauk.ttf \
05_khmeros.ttf 06_code2000.ttf WorldCoasts.mwm about.html \
basic_ldpi.skn basic_mdpi.skn basic_hdpi.skn basic_xhdpi.skn categories.txt classificator.txt
types.txt fonts_blacklist.txt fonts_whitelist.txt languages.txt \
symbols_ldpi.png symbols_mdpi.png symbols_hdpi.png symbols_xhdpi.png unicode_blocks.txt \
visibility.txt drules_proto.txt drules_proto.bin)
for item in ${files[*]}
do
ln -s $SRC/$item $DST/$item
done
# Separate case for World and countries list files without search support
ln -s $SRC/World.mwm.nosearch $DST/World.mwm
ln -s $SRC/countries.txt.nosearch $DST/countries.txt
|