Commit 1852f712 authored by mru's avatar mru

Prettify make output for documentation

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22418 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e6f033e2
...@@ -93,14 +93,17 @@ documentation: $(addprefix doc/, developer.html faq.html ffmpeg-doc.html \ ...@@ -93,14 +93,17 @@ documentation: $(addprefix doc/, developer.html faq.html ffmpeg-doc.html \
ffplay-doc.html ffprobe-doc.html ffserver-doc.html \ ffplay-doc.html ffprobe-doc.html ffserver-doc.html \
general.html libavfilter.html $(ALLMANPAGES)) general.html libavfilter.html $(ALLMANPAGES))
doc/%.html: MSG = HTML
doc/%.html: doc/%.texi doc/%.html: doc/%.texi
cd doc && texi2html -monolithic -number $(<:doc/%=%) $(M)cd doc && texi2html -monolithic -number $(<:doc/%=%)
doc/%.pod: MSG = POD
doc/%.pod: doc/%-doc.texi doc/%.pod: doc/%-doc.texi
doc/texi2pod.pl $< $@ $(M)doc/texi2pod.pl $< $@
doc/%.1: MSG = MAN
doc/%.1: doc/%.pod doc/%.1: doc/%.pod
pod2man --section=1 --center=" " --release=" " $< > $@ $(M)pod2man --section=1 --center=" " --release=" " $< > $@
install: $(INSTALL_TARGETS-yes) install: $(INSTALL_TARGETS-yes)
......
...@@ -25,6 +25,7 @@ BRIEF = CC AS YASM AR LD HOSTCC RANLIB STRIP CP ...@@ -25,6 +25,7 @@ BRIEF = CC AS YASM AR LD HOSTCC RANLIB STRIP CP
SILENT = DEPCC YASMDEP RM SILENT = DEPCC YASMDEP RM
MSG = $@ MSG = $@
G = @$(call ECHO,GEN,$@); G = @$(call ECHO,GEN,$@);
M = @$(call ECHO,$(MSG),$@);
$(foreach VAR,$(BRIEF), \ $(foreach VAR,$(BRIEF), \
$(eval $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR)))) $(eval $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR))))
$(foreach VAR,$(SILENT),$(eval $(VAR) = @$($(VAR)))) $(foreach VAR,$(SILENT),$(eval $(VAR) = @$($(VAR))))
......
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