Commit 8ffbe70f authored by diego's avatar diego

Make documentation build nonrecursive: Merge it into the top-level Makefile.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9042 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f999eacb
...@@ -103,8 +103,18 @@ ffmpeg.o ffplay.o ffserver.o: version.h ...@@ -103,8 +103,18 @@ ffmpeg.o ffplay.o ffserver.o: version.h
videohook: .libs videohook: .libs
$(MAKE) -C vhook all $(MAKE) -C vhook all
documentation: documentation: $(addprefix doc/, ffmpeg-doc.html faq.html ffserver-doc.html \
$(MAKE) -C doc all ffplay-doc.html hooks.html $(ALLMANPAGES))
doc/%.html: doc/%.texi
texi2html -monolithic -number $<
mv $(@F) $@
doc/%.pod: doc/%-doc.texi
doc/texi2pod.pl $< $@
doc/%.1: doc/%.pod
pod2man --section=1 --center=" " --release=" " $< > $@
install: install-progs install-libs install-headers install: install-progs install-libs install-headers
...@@ -206,9 +216,9 @@ clean: ...@@ -206,9 +216,9 @@ clean:
$(MAKE) -C libswscale clean $(MAKE) -C libswscale clean
$(MAKE) -C tests clean $(MAKE) -C tests clean
$(MAKE) -C vhook clean $(MAKE) -C vhook clean
$(MAKE) -C doc clean
rm -f *.o *.d *~ .libs gmon.out TAGS $(ALLPROGS) $(ALLPROGS_G) \ rm -f *.o *.d *~ .libs gmon.out TAGS $(ALLPROGS) $(ALLPROGS_G) \
output_example$(EXESUF) qt-faststart$(EXESUF) cws2fws$(EXESUF) output_example$(EXESUF) qt-faststart$(EXESUF) cws2fws$(EXESUF)
rm -f doc/*.html doc/*.pod doc/*.1
distclean: clean distclean: clean
$(MAKE) -C libavutil distclean $(MAKE) -C libavutil distclean
......
-include ../config.mak
VPATH=$(SRC_PATH_BARE)/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
.PHONY: all clean
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment