summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJanne Grunau <janne-ffmpeg@jannau.net>2011-01-29 13:24:13 +0100
committerJanne Grunau <janne-ffmpeg@jannau.net>2011-01-29 16:57:29 +0100
commita8f0814a742dee4783afaa5bedb01aa0c77b1fc4 (patch)
tree386e9b15239b7b29eb6976da2ed09e7abc081afc /Makefile
parent3af1fe829ee6db5eafe261947e74b8516ffe5188 (diff)
doc: modify style for texi2html 1.78+
The generated HTML files are similar to the ones generated with texi2html 1.56k used on the website. Tested with texi2html 1.78 and 5.0. 1.78 is the minimal recommended version. The removed @sp from the titlepage section were ignored until texi2html 5.0. If not removed the pages generated by 5.0 will have ugly empty space around the title.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c5e74f062c..2658a30dc5 100644
--- a/Makefile
+++ b/Makefile
@@ -123,8 +123,8 @@ doc/ffprobe.pod doc/ffprobe.html: doc/demuxers.texi doc/indevs.texi doc/protocol
doc/libavfilter.html: doc/filters.texi
doc/%.html: TAG = HTML
-doc/%.html: doc/%.texi
- $(M)cd doc && texi2html -monolithic -number $(<:doc/%=%)
+doc/%.html: doc/%.texi $(SRC_PATH_BARE)/doc/t2h.init
+ $(M)cd doc && texi2html -monolithic --init-file $(SRC_PATH_BARE)/doc/t2h.init $(<:doc/%=%)
doc/%.pod: TAG = POD
doc/%.pod: doc/%.texi