[FFmpeg-devel] [PATCH] Simplify texi files naming: ff*-doc.texi -> ff*.texi.

Stefano Sabatini stefano.sabatini-lala
Wed Dec 8 02:20:16 CET 2010


---
 Makefile                                 |   12 ++++++------
 doc/{ffmpeg-doc.texi => ffmpeg.texi}     |    0
 doc/{ffplay-doc.texi => ffplay.texi}     |    0
 doc/{ffprobe-doc.texi => ffprobe.texi}   |    0
 doc/{ffserver-doc.texi => ffserver.texi} |    0
 5 files changed, 6 insertions(+), 6 deletions(-)
 rename doc/{ffmpeg-doc.texi => ffmpeg.texi} (100%)
 rename doc/{ffplay-doc.texi => ffplay.texi} (100%)
 rename doc/{ffprobe-doc.texi => ffprobe.texi} (100%)
 rename doc/{ffserver-doc.texi => ffserver.texi} (100%)

diff --git a/Makefile b/Makefile
index d41bf0a..981142e 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ PROGS_G     = $(addsuffix _g$(EXESUF), $(PROGS-yes))
 OBJS        = $(addsuffix .o,          $(PROGS-yes)) cmdutils.o
 MANPAGES    = $(addprefix doc/, $(addsuffix .1, $(PROGS-yes)))
 PODPAGES    = $(addprefix doc/, $(addsuffix .pod, $(PROGS-yes)))
-HTMLPAGES   = $(addprefix doc/, $(addsuffix -doc.html, $(PROGS-yes)))
+HTMLPAGES   = $(addprefix doc/, $(addsuffix .html, $(PROGS-yes)))
 TOOLS       = $(addprefix tools/, $(addsuffix $(EXESUF), cws2fws pktdumper probetest qt-faststart trasher))
 HOSTPROGS   = $(addprefix tests/, audiogen videogen rotozoom tiny_psnr base64)
 
@@ -22,7 +22,7 @@ BASENAMES   = ffmpeg ffplay ffprobe ffserver
 ALLPROGS    = $(addsuffix   $(EXESUF), $(BASENAMES))
 ALLPROGS_G  = $(addsuffix _g$(EXESUF), $(BASENAMES))
 ALLMANPAGES = $(addsuffix .1, $(BASENAMES))
-ALLHTMLPAGES= $(addsuffix -doc.html, $(BASENAMES))
+ALLHTMLPAGES= $(addsuffix .html, $(BASENAMES))
 
 FFLIBS-$(CONFIG_AVDEVICE) += avdevice
 FFLIBS-$(CONFIG_AVFILTER) += avfilter
@@ -116,16 +116,16 @@ documentation: $(addprefix doc/, developer.html faq.html general.html libavfilte
 
 $(HTMLPAGES) $(PODPAGES): doc/fftools-common-opts.texi
 
-doc/ffmpeg.pod doc/ffmpeg-doc.html: doc/bitstream_filters.texi doc/eval.texi doc/indevs.texi doc/filters.texi doc/outdevs.texi doc/protocols.texi
-doc/ffplay.pod doc/ffplay-doc.html: doc/eval.texi doc/indevs.texi doc/filters.texi doc/outdevs.texi doc/protocols.texi
-doc/ffprobe.pod doc/ffprobe-doc.html: doc/indevs.texi doc/protocols.texi
+doc/ffmpeg.pod doc/ffmpeg.html: doc/bitstream_filters.texi doc/eval.texi doc/indevs.texi doc/filters.texi doc/outdevs.texi doc/protocols.texi
+doc/ffplay.pod doc/ffplay.html: doc/eval.texi doc/indevs.texi doc/filters.texi doc/outdevs.texi doc/protocols.texi
+doc/ffprobe.pod doc/ffprobe.html: doc/indevs.texi doc/protocols.texi
 
 doc/%.html: TAG = HTML
 doc/%.html: doc/%.texi
 	$(M)cd doc && texi2html -monolithic -number $(<:doc/%=%)
 
 doc/%.pod: TAG = POD
-doc/%.pod: doc/%-doc.texi
+doc/%.pod: doc/%.texi
 	$(M)doc/texi2pod.pl $< $@
 
 doc/%.1: TAG = MAN
diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg.texi
similarity index 100%
rename from doc/ffmpeg-doc.texi
rename to doc/ffmpeg.texi
diff --git a/doc/ffplay-doc.texi b/doc/ffplay.texi
similarity index 100%
rename from doc/ffplay-doc.texi
rename to doc/ffplay.texi
diff --git a/doc/ffprobe-doc.texi b/doc/ffprobe.texi
similarity index 100%
rename from doc/ffprobe-doc.texi
rename to doc/ffprobe.texi
diff --git a/doc/ffserver-doc.texi b/doc/ffserver.texi
similarity index 100%
rename from doc/ffserver-doc.texi
rename to doc/ffserver.texi
-- 
1.7.2.3




More information about the ffmpeg-devel mailing list