mirror of https://gitee.com/openkylin/scowl.git
31 lines
452 B
Bash
Executable File
31 lines
452 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
GIT_VER=$1
|
|
PARMS_FILE=`pwd`/$2
|
|
|
|
SCOWL=${SCOWL:-`pwd`}
|
|
|
|
rm -rf aspell6-en-custom
|
|
cp -a $SCOWL/speller/aspell-custom aspell6-en-custom
|
|
cd aspell6-en-custom
|
|
. README.in.sh > README
|
|
rm README.in.sh
|
|
mkdir lang
|
|
cp -a $SCOWL/speller/aspell/{en.dat,en_affix.dat,en_phonet.dat} lang/
|
|
mkdir doc
|
|
cp -a $SCOWL/README doc/SCOWL-README
|
|
|
|
cat > en-custom.wl
|
|
|
|
./configure
|
|
|
|
make dist
|
|
|
|
mv aspell6-en-custom.tar.bz2 ..
|
|
cd ..
|
|
rm -r aspell6-en-custom
|
|
|
|
|