aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-10 02:56:50 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-10 02:56:50 +0000
commit86be2bc36f24ffc92d5474fca00465494ec33cef (patch)
treedf890a35da8a195fba81446b2fc99e05a02569d3
parentb91cd80917b16313a2b110d8a98b7dff4ca86b6a (diff)
downloadffmpeg-86be2bc36f24ffc92d5474fca00465494ec33cef.tar.gz
Prettify make output for documentation
Originally committed as revision 22418 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--Makefile9
-rw-r--r--common.mak1
2 files changed, 7 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1eb60fe5b0..70d23af0dd 100644
--- a/Makefile
+++ b/Makefile
@@ -93,14 +93,17 @@ documentation: $(addprefix doc/, developer.html faq.html ffmpeg-doc.html \
ffplay-doc.html ffprobe-doc.html ffserver-doc.html \
general.html libavfilter.html $(ALLMANPAGES))
+doc/%.html: MSG = HTML
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/texi2pod.pl $< $@
+ $(M)doc/texi2pod.pl $< $@
+doc/%.1: MSG = MAN
doc/%.1: doc/%.pod
- pod2man --section=1 --center=" " --release=" " $< > $@
+ $(M)pod2man --section=1 --center=" " --release=" " $< > $@
install: $(INSTALL_TARGETS-yes)
diff --git a/common.mak b/common.mak
index fae6b1bca7..46525b56dc 100644
--- a/common.mak
+++ b/common.mak
@@ -25,6 +25,7 @@ BRIEF = CC AS YASM AR LD HOSTCC RANLIB STRIP CP
SILENT = DEPCC YASMDEP RM
MSG = $@
G = @$(call ECHO,GEN,$@);
+M = @$(call ECHO,$(MSG),$@);
$(foreach VAR,$(BRIEF), \
$(eval $(VAR) = @$$(call ECHO,$(VAR),$$(MSG)); $($(VAR))))
$(foreach VAR,$(SILENT),$(eval $(VAR) = @$($(VAR))))