diff --git a/.gitignore b/.gitignore index eaf79116..3b45bc72 100644 --- a/.gitignore +++ b/.gitignore @@ -46,7 +46,7 @@ libespeak.so* platforms/*/espeak-phoneme-data espeak-ng espeakedit -speak +speak-ng # Linux/Source distribution files diff --git a/Makefile.am b/Makefile.am index 8933d1e9..ccdbb0be 100644 --- a/Makefile.am +++ b/Makefile.am @@ -155,11 +155,11 @@ src_libespeak_la_CXXFLAGS = $(common_FLAGS) $(libespeak_FLAGS) $(wave_FLAGS) \ -pedantic -fno-exceptions -D PATH_ESPEAK_DATA=\"$(DATADIR)\" src_libespeak_la_SOURCES = $(common_SOURCE) $(libespeak_SOURCE) $(wave_SOURCE) -bin_PROGRAMS += src/speak +bin_PROGRAMS += src/speak-ng -src_speak_LDFLAGS = $(wave_LIBS) -lpthread -lm -src_speak_CFLAGS = $(common_FLAGS) $(wave_FLAGS) -I src/libespeak-ng -src_speak_SOURCES = src/speak.c $(common_SOURCE) $(wave_SOURCE) +src_speak_ng_LDFLAGS = $(wave_LIBS) -lpthread -lm +src_speak_ng_CFLAGS = $(common_FLAGS) $(wave_FLAGS) -I src/libespeak-ng +src_speak_ng_SOURCES = src/speak-ng.c $(common_SOURCE) $(wave_SOURCE) bin_PROGRAMS += src/espeak-ng diff --git a/src/speak.c b/src/speak-ng.c similarity index 99% rename from src/speak.c rename to src/speak-ng.c index 501b4365..5564fe7b 100644 --- a/src/speak.c +++ b/src/speak-ng.c @@ -73,7 +73,7 @@ unsigned int wavefile_count = 0; int end_of_sentence = 0; static const char *help_text = -"\nspeak [options] [\"\"]\n\n" +"\nspeak-ng [options] [\"\"]\n\n" "-f Text file to speak\n" "--stdin Read text input from stdin instead of a file\n\n" "If neither -f nor --stdin, then are spoken, or if none then text\n"