Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
flite
> flite-1.3-doc_texinfo.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File flite-1.3-doc_texinfo.patch of Package flite (Revision 3)
Currently displaying revision
3
,
show latest
diff -uNr flite-1.3-release/doc/flite.texi flite-1.3-mod/doc/flite.texi --- flite-1.3-release/doc/flite.texi 2005-08-14 21:50:02.000000000 +0200 +++ flite-1.3-mod/doc/flite.texi 2006-05-08 12:39:54.000000000 +0200 @@ -711,14 +711,14 @@ cst_voice *register_cmu_us_kal(); int main(int argc, char **argv) -{ +@{ cst_voice *v; if (argc != 2) - { + @{ fprintf(stderr,"usage: flite_test FILE\n"); exit(-1); - } + @} flite_init(); @@ -726,7 +726,7 @@ flite_file_to_speech(argv[1],v,"play"); -} +@} @end example Assuming the shell variable FLITEDIR is set to the flite directory the following will compile the system (with appropriate changes for diff -uNr flite-1.3-release/doc/Makefile flite-1.3-mod/doc/Makefile --- flite-1.3-release/doc/Makefile 2005-01-04 00:55:33.000000000 +0200 +++ flite-1.3-mod/doc/Makefile 2006-05-08 12:39:45.000000000 +0200 @@ -50,7 +50,7 @@ flite.html: flite.texi @ if [ ! -d html ] ; \ then mkdir -p html ; fi - (cd html; texi2html -number -split_chapter ../flite.texi) + (cd html; texi2html -number -split_chapter ../flite.texi; mv flite/* .; rmdir flite) @ for i in html/*.html ; \ do \ sed 's/<BODY>/<BODY bgcolor="#ffffff">/' $$i >ttt.html; \