Blob Blame History Raw
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; \