diff --git a/.gitignore b/.gitignore index f7c13895..e192aa65 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # intermediate build output: *.o +espeak-data-local/ # libraries diff --git a/Makefile b/Makefile index f9976173..43b0f45f 100644 --- a/Makefile +++ b/Makefile @@ -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