Fix brief make output for generated tables

Originally committed as revision 22526 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-03-14 19:48:09 +00:00
parent 062777b343
commit 7732f641ff
2 changed files with 5 additions and 5 deletions

View File

@ -105,15 +105,15 @@ 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: TAG = HTML
doc/%.html: doc/%.texi doc/%.html: doc/%.texi
$(M)cd doc && texi2html -monolithic -number $(<:doc/%=%) $(M)cd doc && texi2html -monolithic -number $(<:doc/%=%)
doc/%.pod: MSG = POD doc/%.pod: TAG = POD
doc/%.pod: doc/%-doc.texi doc/%.pod: doc/%-doc.texi
$(M)doc/texi2pod.pl $< $@ $(M)doc/texi2pod.pl $< $@
doc/%.1: MSG = MAN doc/%.1: TAG = MAN
doc/%.1: doc/%.pod doc/%.1: doc/%.pod
$(M)pod2man --section=1 --center=" " --release=" " $< > $@ $(M)pod2man --section=1 --center=" " --release=" " $< > $@

View File

@ -24,7 +24,7 @@ ECHO = printf "$(1)\t%s\n" $(2)
BRIEF = CC AS YASM AR LD HOSTCC RANLIB STRIP CP BRIEF = CC AS YASM AR LD HOSTCC RANLIB STRIP CP
SILENT = DEPCC YASMDEP RM SILENT = DEPCC YASMDEP RM
MSG = $@ MSG = $@
M = @$(call ECHO,$(MSG),$@); M = @$(call ECHO,$(TAG),$@);
$(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))))
@ -52,7 +52,7 @@ CFLAGS += $(ECFLAGS)
%.ver: %.v %.ver: %.v
$(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@ $(Q)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@
%.c %.h: MSG = GEN %.c %.h: TAG = GEN
install: install-libs install-headers install: install-libs install-headers
install-libs: install-libs-yes install-libs: install-libs-yes