build: generate the espeak-data-local directory (not completely working yet)

This commit is contained in:
Reece Dunn
2010-06-25 16:08:44 +01:00
parent d62ebe3a13
commit b04fab1a6d
2 changed files with 17 additions and 6 deletions
+1
View File
@@ -1,6 +1,7 @@
# intermediate build output:
*.o
espeak-data-local/
# libraries
+16 -6
View File
@@ -1,6 +1,18 @@
PLATFORM=big_endian
all: espeak espeakedit espeak-phoneme-data
##### standard build actions:
all: espeak espeakedit espeak-data-local
clean:
cd src && rm -f *.o *~ && cd ..
distclean: clean
cd src && rm -f libespeak.a libespeak.so.* speak espeak espeakedit && cd ..
cd platforms/${PLATFORM} && rm -f espeak-phoneme-data && cd ../..
rm -rf espeak-data-local
##### build targets:
espeak:
cd src && make && cd ..
@@ -11,9 +23,7 @@ espeakedit:
espeak-phoneme-data:
cd platforms/${PLATFORM} && make && cd ../..
clean:
cd src && rm -f *.o *~ && cd ..
distclean: clean
cd src && rm -f libespeak.a libespeak.so.* speak espeak espeakedit && cd ..
espeak-data-local: espeak-phoneme-data
cp -a espeak-data espeak-data-local
platforms/big_endian/espeak-phoneme-data espeak-data-local espeak-data-local platforms/${PLATFORM}/phondata-manifest