--- espeak-1.40.02-source.old/src/Makefile +++ espeak-1.40.02-source/src/Makefile @@ -1,10 +1,10 @@ # remove -fno-exceptions if it causes problems with stdio library on some platforms (ARM) -PREFIX=/usr +PREFIX=__META_PREFIX__ BINDIR=$(PREFIX)/bin INCDIR=$(PREFIX)/include/espeak LIBDIR=$(PREFIX)/lib -DATADIR=$(PREFIX)/share/espeak-data +DATADIR=$(PREFIX)/data RELEASE = 1.40 BIN_NAME = speak --- espeak-1.40.02-source.old/src/speech.h +++ espeak-1.40.02-source/src/speech.h @@ -49,7 +49,7 @@ // will look for espeak_data directory here, and also in user's home directory #ifndef PATH_ESPEAK_DATA - #define PATH_ESPEAK_DATA "/usr/share/espeak-data" + #define PATH_ESPEAK_DATA "__META_PREFIX__/data" #endif typedef unsigned short USHORT;