summaryrefslogtreecommitdiff
path: root/flite-0001-Fixed-texi2html-ambiguity.patch
blob: bb0e4073a39bc837b2f6bdf56bc0c5c1a29b6b5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Peter Lemenkov <lemenkov@gmail.com>
Date: Fri, 8 Jan 2016 18:26:03 +0300
Subject: [PATCH] Fixed texi2html ambiguity

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

diff --git a/doc/Makefile b/doc/Makefile
index 12a5720..8fb9a03 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -50,7 +50,8 @@ doc: flite.html flite.pdf
 flite.html: flite.texi
 	@ if [ ! -d html ] ; \
           then mkdir -p html ; fi
-	(cd html; texi2html -number -split_chapter ../flite.texi)
+	(cd html; texi2html -number-sections -split_chapter ../flite.texi)
+	@mv html/flite/*.html html/
 	@ for i in html/*.html ; \
 	  do \
 	    sed 's/<BODY>/<BODY bgcolor="#ffffff">/' $$i >ttt.html; \