-loop was renamed to -loop_input
[ffmpeg.git] / doc / Makefile
index 034d492..744a9fb 100644 (file)
@@ -1,4 +1,18 @@
-all: ffmpeg-doc.html faq.html ffserver-doc.html hooks.html
+-include ../config.mak
 
-%.html: %.texi
+VPATH=$(SRC_PATH)/doc
+
+all: ffmpeg-doc.html faq.html ffserver-doc.html ffplay-doc.html hooks.html \
+     ffmpeg.1 ffserver.1 ffplay.1
+
+%.html: %.texi Makefile
        texi2html -monolithic -number $<
+
+%.pod: %-doc.texi
+       ./texi2pod.pl $< $@
+
+%.1: %.pod
+       pod2man --section=1 --center=" " --release=" " $< > $@
+
+clean:
+       rm -f *.html *.pod *.1