Initialize the git submodules when autogen.sh is run.

This commit is contained in:
Reece H. Dunn
2013-05-30 19:21:11 +01:00
parent 91a33fe9f4
commit 106a12a1a7
2 changed files with 7 additions and 8 deletions
+3 -8
View File
@@ -21,22 +21,17 @@ If you are building on the command line, you will also need:
1. ant (e.g. run `sudo apt-get install ant` on a Debian-based distribution)
## Fetching the Sources
The Android port uses the `ucd-tools` submodule. You can fetch this by running:
$ git submodule init
$ git submodule update
## Building eSpeak
1. Generate the build files and get the required git submodules by running:
$ ./autogen.sh
1. Build the `libttsespeak.so` file by running:
$ cd android
$ ndk-build
2. Build the `android/res/raw/espeakdata.zip` file by running:
$ ./autogen.sh
$ ./configure --prefix=/usr
$ make android
+4
View File
@@ -5,6 +5,10 @@ touch AUTHORS
touch NEWS
ln -sv README.md README
if [ -d .git ] ; then
git submodule update --init --recursive || exit 1
fi
aclocal -I m4 || exit 1
libtoolize || exit 1