[FFmpeg-cvslog] r22418 - in trunk: Makefile common.mak

mru subversion
Wed Mar 10 03:56:50 CET 2010


Author: mru
Date: Wed Mar 10 03:56:50 2010
New Revision: 22418

Log:
Prettify make output for documentation

Modified:
   trunk/Makefile
   trunk/common.mak

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Wed Mar 10 03:56:47 2010	(r22417)
+++ trunk/Makefile	Wed Mar 10 03:56:50 2010	(r22418)
@@ -93,14 +93,17 @@ documentation: $(addprefix doc/, develop
                                  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)
 

Modified: trunk/common.mak
==============================================================================
--- trunk/common.mak	Wed Mar 10 03:56:47 2010	(r22417)
+++ trunk/common.mak	Wed Mar 10 03:56:50 2010	(r22418)
@@ -25,6 +25,7 @@ BRIEF  = CC AS YASM AR LD HOSTCC RANLIB 
 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))))



More information about the ffmpeg-cvslog mailing list