f48d98
diff -u --recursive festival-vanilla/examples/benchmark festival/examples/benchmark
f48d98
--- festival-vanilla/examples/benchmark	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/examples/benchmark	2018-09-06 20:37:22.855868107 -0400
f48d98
@@ -1,6 +1,7 @@
f48d98
 #!/bin/sh
f48d98
 
f48d98
-default_libdir="/projects/festival/lib"
f48d98
+default_libdir="/usr/share/festival"
f48d98
+default_datadir="/usr/share/festival"
f48d98
 
f48d98
 while true
f48d98
 	do
f48d98
@@ -11,13 +12,17 @@
f48d98
 	-l ) libdir="$2"
f48d98
 		shift 2
f48d98
 		;;
f48d98
+	-d ) datadir="$2"
f48d98
+		shift 2
f48d98
+		;;
f48d98
+	-- ) shift; break ;;
f48d98
 	* ) break;;
f48d98
 	esac
f48d98
 done
f48d98
 
f48d98
-text=${1-"$HOME/projects/festival/examples/benchmark.text"}
f48d98
+text=${1-"/usr/share/doc/festival/examples/benchmark.text"}
f48d98
 
f48d98
-for i in . src/main ../src/main $HOME/projects/festival/src/main /cstr/bin
f48d98
+for i in /usr/bin . src/main ../src/main $HOME/projects/festival/src/main /cstr/bin
f48d98
 	do
f48d98
 	if [ -n "$festival" ]
f48d98
 		then
f48d98
@@ -39,7 +44,15 @@
f48d98
 	then
f48d98
 	case $festival in 
f48d98
 	*main/festival )	libdir=`dirname $festival`/../../lib;;
f48d98
-	* ) libdir=$default_libdir;;
f48d98
+	* ) libdir=$default_libdir;
f48d98
+	esac
f48d98
+fi
f48d98
+
f48d98
+if [ -z "$datadir" ]
f48d98
+	then
f48d98
+	case $festival in 
f48d98
+	*main/festival )   datadir=`dirname $festival`/../../share;;
f48d98
+	* ) datadir=$default_datadir;;
f48d98
 	esac
f48d98
 fi
f48d98
 
f48d98
@@ -54,10 +67,11 @@
f48d98
 cat > $script <<__END__
f48d98
 
f48d98
 (set! libdir "$libdir/")
f48d98
-(set! lexdir "$default_libdir/dicts/")
f48d98
-(set! voiced_dir "$default_libdir/voices/")
f48d98
+(set! datadir "$datadir/")
f48d98
+(set! lexdir "$default_datadir/dicts/")
f48d98
+(set! voiced_dir "$default_datadir/voices/")
f48d98
 
f48d98
-(load (string-append libdir "init.scm"))
f48d98
+(load (string-append datadir "init.scm"))
f48d98
 (if (probe_file (format nil "%s/.festivalrc" (getenv "HOME")))
f48d98
     (load (format nil "%s/.festivalrc" (getenv "HOME"))))
f48d98
 
f48d98
diff -u --recursive festival-vanilla/examples/benchmark.text festival/examples/benchmark.text
f48d98
--- festival-vanilla/examples/benchmark.text	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/examples/benchmark.text	2018-09-06 20:37:22.855868107 -0400
f48d98
@@ -32,8 +32,13 @@
f48d98
 
f48d98
      --libdir PATH
f48d98
 	     Specify alternate to default library directory (used
f48d98
-	     in	 initializing  the  variable  load-path,  and for
f48d98
-	     loading most intinialisation files)
f48d98
+	     for architecture-specific libraries and programs)
f48d98
+
f48d98
+     --datadir PATH
f48d98
+	     Specify alternate to default shared-data directory (used
f48d98
+	     in	 initializing the  variable  load-path,  and for
f48d98
+	     loading most initialisation files). Typically, the voice and
f48d98
+		 dictionary files reside here.
f48d98
 
f48d98
      -b	or --batch
f48d98
 	     Run in batch mode.	 In batch mode no input	 is  read
f48d98
diff -u --recursive festival-vanilla/examples/dumpfeats.sh festival/examples/dumpfeats.sh
f48d98
--- festival-vanilla/examples/dumpfeats.sh	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/examples/dumpfeats.sh	2018-09-06 20:37:22.855868107 -0400
f48d98
@@ -39,7 +39,7 @@
f48d98
 
f48d98
 ;;; Because this is a --script type file it has to explicitly
f48d98
 ;;; load the initfiles: init.scm and user's .festivalrc
f48d98
-(load (path-append libdir "init.scm"))
f48d98
+(load (path-append datadir "init.scm"))
f48d98
 
f48d98
 (define (dumpfeats_help)
f48d98
   (format t "%s\n"
f48d98
diff -u --recursive festival-vanilla/examples/durmeanstd.sh festival/examples/durmeanstd.sh
f48d98
--- festival-vanilla/examples/durmeanstd.sh	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/examples/durmeanstd.sh	2018-09-06 20:37:22.856868112 -0400
f48d98
@@ -40,7 +40,7 @@
f48d98
 
f48d98
 ;;; Because this is a --script type file it has to explicitly
f48d98
 ;;; load the initfiles: init.scm and user's .festivalrc
f48d98
-(load (path-append libdir "init.scm"))
f48d98
+(load (path-append datadir "init.scm"))
f48d98
 
f48d98
 (define (durmeanstd_help)
f48d98
   (format t "%s\n"
f48d98
diff -u --recursive festival-vanilla/examples/latest.sh festival/examples/latest.sh
f48d98
--- festival-vanilla/examples/latest.sh	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/examples/latest.sh	2018-09-06 20:37:22.854868102 -0400
f48d98
@@ -50,7 +50,7 @@
f48d98
 
f48d98
 ;;; Because this is a --script type file I has to explicitly
f48d98
 ;;; load the initfiles: init.scm and user's .festivalrc
f48d98
-(load (path-append libdir "init.scm"))
f48d98
+(load (path-append datadir "init.scm"))
f48d98
 
f48d98
 (audio_mode 'async)  ;; play waves while continuing synthesis
f48d98
 
f48d98
diff -u --recursive festival-vanilla/examples/Makefile festival/examples/Makefile
f48d98
--- festival-vanilla/examples/Makefile	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/examples/Makefile	2018-09-06 20:37:22.860868131 -0400
f48d98
@@ -54,8 +54,9 @@
f48d98
 
f48d98
 $(ALL) : % : %.sh
f48d98
 	rm -f $@
f48d98
-	@echo "#!/bin/sh" >$@
f48d98
-	@echo "\"true\" ; exec "$(FESTIVAL_HOME)/bin/festival --script '$$0 $$*' >>$@
f48d98
+	@echo "#!/usr/bin/festival --script" >$@
f48d98
+#	@echo "#!/bin/sh" >$@
f48d98
+#	@echo "\"true\" ; exec "/usr/bin/festival --script '$$0 $$*' >>$@
f48d98
 	cat $< >>$@
f48d98
 	chmod +x $@
f48d98
 
f48d98
diff -u --recursive festival-vanilla/examples/make_utts.sh festival/examples/make_utts.sh
f48d98
--- festival-vanilla/examples/make_utts.sh	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/examples/make_utts.sh	2018-09-06 20:37:22.854868102 -0400
f48d98
@@ -44,7 +44,7 @@
f48d98
 ;;; Because this is a --script type file it has to explicitly
f48d98
 ;;; load the initfiles: init.scm and user's .festivalrc
f48d98
 (if (not (symbol-bound? 'caar))
f48d98
-    (load (path-append libdir "init.scm")))
f48d98
+    (load (path-append datadir "init.scm")))
f48d98
 
f48d98
 ;;;  Some parts are potentially editable
f48d98
 (defvar basic_relations '((Phrase segmental ())
f48d98
diff -u --recursive festival-vanilla/examples/saytime.sh festival/examples/saytime.sh
f48d98
--- festival-vanilla/examples/saytime.sh	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/examples/saytime.sh	2018-09-06 20:37:22.856868112 -0400
f48d98
@@ -44,7 +44,7 @@
f48d98
 
f48d98
 ;;; Because this is a --script type file I has to explicitly
f48d98
 ;;; load the initfiles: init.scm and user's .festivalrc
f48d98
-(load (path-append libdir "init.scm"))
f48d98
+(load (path-append datadir "init.scm"))
f48d98
 
f48d98
 (define (get-the-time)
f48d98
 "Returns a list of hour and minute and second, for later processing"
f48d98
diff -u --recursive festival-vanilla/examples/scfg_parse_text.sh festival/examples/scfg_parse_text.sh
f48d98
--- festival-vanilla/examples/scfg_parse_text.sh	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/examples/scfg_parse_text.sh	2018-09-06 20:37:22.856868112 -0400
f48d98
@@ -45,7 +45,7 @@
f48d98
 
f48d98
 ;;; Because this is a --script type file I has to explicitly
f48d98
 ;;; load the initfiles: init.scm and user's .festivalrc
f48d98
-(load (path-append libdir "init.scm"))
f48d98
+(load (path-append datadir "init.scm"))
f48d98
 
f48d98
 (require 'scfg)
f48d98
 
f48d98
@@ -66,7 +66,7 @@
f48d98
 (gc-status nil)
f48d98
 
f48d98
 ;;; Default argument values
f48d98
-(defvar grammarfile (path-append libdir "scfg_wsj_wp20.gram"))
f48d98
+(defvar grammarfile (path-append datadir "scfg_wsj_wp20.gram"))
f48d98
 (defvar outfile "-")
f48d98
 (defvar outfd t)
f48d98
 (defvar parse_type 'brackets_only)
f48d98
diff -u --recursive festival-vanilla/examples/text2pos.sh festival/examples/text2pos.sh
f48d98
--- festival-vanilla/examples/text2pos.sh	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/examples/text2pos.sh	2018-09-06 20:37:22.856868112 -0400
f48d98
@@ -50,7 +50,7 @@
f48d98
 
f48d98
 ;;; Because this is a --script type file I has to explicitly
f48d98
 ;;; load the initfiles: init.scm and user's .festivalrc
f48d98
-(load (path-append libdir "init.scm"))
f48d98
+(load (path-append datadir "init.scm"))
f48d98
 
f48d98
 (define (find-pos utt)
f48d98
 "Main function for processing TTS utterances.  Predicts POS and
f48d98
diff -u --recursive festival-vanilla/examples/text2wave.sh festival/examples/text2wave.sh
f48d98
--- festival-vanilla/examples/text2wave.sh	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/examples/text2wave.sh	2018-09-06 20:37:22.857868117 -0400
f48d98
@@ -40,7 +40,7 @@
f48d98
 
f48d98
 ;;; Because this is a --script type file I has to explicitly
f48d98
 ;;; load the initfiles: init.scm and user's .festivalrc
f48d98
-(load (path-append libdir "init.scm"))
f48d98
+(load (path-append datadir "init.scm"))
f48d98
 
f48d98
 ;;; Process command line arguments
f48d98
 (define (text2wave_help)
f48d98
diff -u --recursive festival-vanilla/lib/festival.scm festival/lib/festival.scm
f48d98
--- festival-vanilla/lib/festival.scm	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/lib/festival.scm	2018-09-06 20:37:22.858868122 -0400
f48d98
@@ -552,13 +552,13 @@
f48d98
 (define (intro)
f48d98
 "(intro)
f48d98
  Synthesize an introduction to the Festival Speech Synthesis System."
f48d98
-  (tts (path-append libdir "../examples/intro.text") nil))
f48d98
+  (tts (path-append datadir "/usr/share/doc/festival/examples/intro.text") nil))
f48d98
 
f48d98
 (define (intro-spanish)
f48d98
 "(intro-spanish)
f48d98
  Synthesize an introduction to the Festival Speech Synthesis System
f48d98
  in spanish.  Spanish voice must already be selected for this."
f48d98
-  (tts (path-append libdir "../examples/spintro.text") nil))
f48d98
+  (tts (path-append datadir "/usr/share/doc/festival/examples/spintro.text") nil))
f48d98
 
f48d98
 (define (na_play FILENAME)
f48d98
 "(play_wave FILENAME)
f48d98
diff -u --recursive festival-vanilla/lib/init.scm festival/lib/init.scm
f48d98
--- festival-vanilla/lib/init.scm	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/lib/init.scm	2018-09-06 20:37:22.852868092 -0400
f48d98
@@ -36,7 +36,7 @@
f48d98
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
f48d98
 
f48d98
 ;;;  Basic siod library (need this before load_library or require works)
f48d98
-(load (path-append libdir "siod.scm"))
f48d98
+(load (path-append datadir "siod.scm"))
f48d98
 
f48d98
 (defvar home-directory (or (getenv "HOME") "/")
f48d98
   "home-directory
f48d98
diff -u --recursive festival-vanilla/lib/lexicons.scm festival/lib/lexicons.scm
f48d98
--- festival-vanilla/lib/lexicons.scm	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/lib/lexicons.scm	2018-09-06 20:37:22.858868122 -0400
f48d98
@@ -42,10 +42,10 @@
f48d98
 ;;;  you should set lexdir in sitevars.scm
f48d98
 
f48d98
 (defvar lexdir 
f48d98
-  (if (probe_file (path-append libdir "dicts"))
f48d98
-      (path-append libdir "dicts/")
f48d98
+  (if (probe_file (path-append datadir "dicts"))
f48d98
+      (path-append datadir "dicts/")
f48d98
       ;; else we'll guess we're in the CSTR filespace
f48d98
-      (path-as-directory "/projects/festival/lib/dicts/"))
f48d98
+      (path-as-directory "/usr/share/festival/dicts/"))
f48d98
   "lexdir
f48d98
   The directory where the lexicon(s) are, by default.")
f48d98
 
f48d98
diff -u --recursive festival-vanilla/lib/phrase.scm festival/lib/phrase.scm
f48d98
--- festival-vanilla/lib/phrase.scm	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/lib/phrase.scm	2018-09-06 20:37:22.857868117 -0400
f48d98
@@ -93,7 +93,7 @@
f48d98
 
f48d98
 (require 'pos)   ;; for part of speech map
f48d98
 
f48d98
-(defvar pbreak_ngram_dir libdir
f48d98
+(defvar pbreak_ngram_dir datadir
f48d98
   "pbreak_ngram_dir
f48d98
   The directory containing the ngram models for predicting phrase
f48d98
   breaks.  By default this is the standard library directory.")
f48d98
diff -u --recursive festival-vanilla/lib/soleml-mode.scm festival/lib/soleml-mode.scm
f48d98
--- festival-vanilla/lib/soleml-mode.scm	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/lib/soleml-mode.scm	2018-09-06 20:37:22.857868117 -0400
f48d98
@@ -330,7 +330,7 @@
f48d98
        (list 'exit_func soleml_exit_func)
f48d98
        '(analysis_type xxml)
f48d98
        (list 'filter 
f48d98
-	     (format nil "%s -D %s " sgml_parse_progname libdir))))
f48d98
+	     (format nil "%s -D %s " sgml_parse_progname datadir))))
f48d98
     tts_text_modes))
f48d98
 
f48d98
 (provide 'soleml-mode)
f48d98
diff -u --recursive festival-vanilla/lib/voices.scm festival/lib/voices.scm
f48d98
--- festival-vanilla/lib/voices.scm	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/lib/voices.scm	2018-09-06 20:37:22.853868097 -0400
f48d98
@@ -42,7 +42,7 @@
f48d98
 ;; The path to search for voices is created from the load-path with
f48d98
 ;; an extra list of directories appended.
f48d98
 
f48d98
-(defvar system-voice-path '( )
f48d98
+(defvar system-voice-path '("/usr/share/festival/voices/")
f48d98
   "system-voice-path
f48d98
    Additional directory not near the load path where voices can be
f48d98
    found, this can be redefined in lib/sitevars.scm if desired.")
f48d98
diff -u --recursive festival-vanilla/src/arch/festival/audspio.cc festival/src/arch/festival/audspio.cc
f48d98
--- festival-vanilla/src/arch/festival/audspio.cc	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/src/arch/festival/audspio.cc	2018-09-06 20:37:22.859868126 -0400
f48d98
@@ -108,7 +108,7 @@
f48d98
 	{
f48d98
 	    audio = ft_get_param("Audio_Method");
f48d98
 	    command = ft_get_param("Audio_Command");
f48d98
-	    audfds = pipe_open("audsp");
f48d98
+	    audfds = pipe_open("/usr/libexec/festival/audsp");
f48d98
 	    if (audio != NIL)
f48d98
 		audsp_send(EST_String("method ")+get_c_string(audio));
f48d98
 	    if (command != NIL)
f48d98
diff -u --recursive festival-vanilla/src/arch/festival/festival.cc festival/src/arch/festival/festival.cc
f48d98
--- festival-vanilla/src/arch/festival/festival.cc	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/src/arch/festival/festival.cc	2018-09-06 20:37:22.859868126 -0400
f48d98
@@ -60,6 +60,9 @@
f48d98
 #define STRINGIZE(S) _S_S_S(S)
f48d98
 
f48d98
 const char *festival_version =  STRINGIZE(FTVERSION) ":" STRINGIZE(FTSTATE) " " STRINGIZE(FTDATE);
f48d98
+const char *festival_libdir = "/usr/share/festival";
f48d98
+const char *festival_datadir = "/usr/share/festival";
f48d98
+const char *festival_sysconfdir = "/etc";
f48d98
 
f48d98
 // Allow the path to be passed in without quotes because Windoze command line
f48d98
 // is stupid
f48d98
@@ -79,7 +82,6 @@
f48d98
 #define FTOSTYPE ""
f48d98
 #endif
f48d98
 
f48d98
-const char *festival_libdir = FTLIBDIR;
f48d98
 ostream *cdebug;
f48d98
 static int festival_server_port = 1314;
f48d98
 static EST_StrList sub_copyrights;
f48d98
@@ -308,7 +310,7 @@
f48d98
     EST_String userinitfile, home_str, initfile;
f48d98
 
f48d98
     // Load library init first
f48d98
-    initfile = (EST_String)EST_Pathname(festival_libdir).as_directory() + 
f48d98
+    initfile = (EST_String)EST_Pathname(festival_datadir).as_directory() +
f48d98
 	"init.scm";
f48d98
     if (access((const char *)initfile,R_OK) == 0)
f48d98
 	vload(initfile,FALSE);
f48d98
@@ -324,6 +326,8 @@
f48d98
     int major,minor,subminor;
f48d98
     
f48d98
     siod_set_lval("libdir",strintern(festival_libdir));
f48d98
+    siod_set_lval("datadir",strintern(festival_datadir));
f48d98
+    siod_set_lval("sysconfdir",strintern(festival_sysconfdir));
f48d98
     if (!streq(FTOSTYPE,""))
f48d98
 	siod_set_lval("*ostype*",cintern(FTOSTYPE));
f48d98
     siod_set_lval("festival_version",
f48d98
@@ -357,6 +361,7 @@
f48d98
     if (mplayer_supported)
f48d98
 	proclaim_module("mplayeraudio");
f48d98
     
f48d98
+#if 0 /* /usr/lib/festival/etc/machine -- ??? */
f48d98
     // Add etc-dir path and machine specific directory etc/$OSTYPE
f48d98
     char *etcdir = walloc(char,strlen(festival_libdir)+strlen("etc/")+
f48d98
 			  strlen(FTOSTYPE)+3);
f48d98
@@ -377,6 +382,7 @@
f48d98
     
f48d98
     wfree(etcdir);
f48d98
     wfree(etcdircommon);
f48d98
+#endif
f48d98
     return;
f48d98
 }
f48d98
 
f48d98
Only in festival/src/arch/festival: festival.cc.orig
f48d98
diff -u --recursive festival-vanilla/src/arch/festival/Makefile festival/src/arch/festival/Makefile
f48d98
--- festival-vanilla/src/arch/festival/Makefile	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/src/arch/festival/Makefile	2018-09-06 20:37:22.858868122 -0400
f48d98
@@ -62,6 +62,6 @@
f48d98
 LOCAL_INCLUDES += $(FESTIVAL_INCLUDES)
f48d98
 
f48d98
 festival.o: festival.cc
f48d98
-	$(CXX_COMMAND_TEMPLATES) -DFTNAME='$(PROJECT_NAME)' -DFTLIBDIRC='$(FTLIBDIR)' -DFTVERSION='$(PROJECT_VERSION)' -DFTSTATE='$(PROJECT_STATE)'  -DFTDATE='$(PROJECT_DATE)' -DFTOSTYPE=\"$(SYSTEM_TYPE)\" festival.cc
f48d98
+	$(CXX_COMMAND_TEMPLATES) -DFTNAME='$(PROJECT_NAME)' -DFTVERSION='$(PROJECT_VERSION)' -DFTSTATE='$(PROJECT_STATE)'  -DFTDATE='$(PROJECT_DATE)' -DFTOSTYPEC='$(SYSTEM_TYPE)' festival.cc
f48d98
 
f48d98
 
f48d98
diff -u --recursive festival-vanilla/src/include/festival.h festival/src/include/festival.h
f48d98
--- festival-vanilla/src/include/festival.h	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/src/include/festival.h	2018-09-06 20:37:22.854868102 -0400
f48d98
@@ -138,6 +138,7 @@
f48d98
 void add_item_features(EST_Item *s,LISP features);
f48d98
 
f48d98
 extern const char *festival_libdir;
f48d98
+extern const char *festival_datadir;
f48d98
 
f48d98
 //  Module specific LISP/etc definitions
f48d98
 void festival_init_modules(void);
f48d98
diff -u --recursive festival-vanilla/src/main/festival_main.cc festival/src/main/festival_main.cc
f48d98
--- festival-vanilla/src/main/festival_main.cc	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/src/main/festival_main.cc	2018-09-06 20:37:22.853868097 -0400
f48d98
@@ -88,6 +88,8 @@
f48d98
         "In evaluation mode \"filenames\" starting with ( are evaluated inline\n"+
f48d98
 	"Festival Speech Synthesis System: "+ festival_version +"\n"+
f48d98
 	"-q            Load no default setup files\n"+
f48d98
+	"--datadir <string>\n"+
f48d98
+	"              Set data directory pathname\n"+
f48d98
 	"--libdir <string>\n"+
f48d98
         "              Set library directory pathname\n"+
f48d98
         "-b            Run in batch mode (no interaction)\n"+
f48d98
@@ -127,6 +129,12 @@
f48d98
 	festival_libdir = wstrdup(al.val("--libdir"));
f48d98
     else if (getenv("FESTLIBDIR") != 0)
f48d98
 	festival_libdir = getenv("FESTLIBDIR");
f48d98
+
f48d98
+    if (al.present("--datadir"))
f48d98
+	festival_datadir = wstrdup(al.val("--datadir"));
f48d98
+    else if (getenv("FESTDATADIR") != 0)
f48d98
+	festival_datadir = getenv("FESTDATADIR");
f48d98
+
f48d98
     if (al.present("--heap"))
f48d98
 	heap_size = al.ival("--heap");
f48d98
 
f48d98
diff -u --recursive festival-vanilla/testsuite/data/modes.scm festival/testsuite/data/modes.scm
f48d98
--- festival-vanilla/testsuite/data/modes.scm	2017-09-04 11:54:08.000000000 -0400
f48d98
+++ festival/testsuite/data/modes.scm	2018-09-06 20:37:22.853868097 -0400
f48d98
@@ -42,13 +42,13 @@
f48d98
 
f48d98
 (format t "\n\nSABLE mode\n")
f48d98
 (unwind-protect
f48d98
- (tts (string-append libdir "/../examples/example2.sable") nil))
f48d98
+ (tts "/usr/share/doc/festival/examples/example2.sable" 'sable))
f48d98
 (format t "\n\nOGI's mark up mode\n")
f48d98
 (unwind-protect 
f48d98
- (tts (string-append libdir "/../examples/ex1.ogi") 'ogimarkup))
f48d98
+ (tts "/usr/share/doc/festival/examples/ex1.ogi" 'ogimarkup))
f48d98
 (format t "\n\nAn email mode\n")
f48d98
 (unwind-protect
f48d98
- (tts (string-append libdir "/../examples/ex1.email") nil))
f48d98
+ (tts "/usr/share/doc/festival/examples/ex1.email" nil))
f48d98
 
f48d98
 (voice_kal_diphone)
f48d98
 (format t "\n\nA singing mode\n")