Revision c0f88eed Makefile

View differences:

Makefile
112 112

  
113 113
alltools: $(TOOLS)
114 114

  
115
documentation: $(addprefix doc/, developer.html faq.html general.html libavfilter.html \
116
                                 $(ALLHTMLPAGES) $(ALLMANPAGES))
115
DOCS = $(addprefix doc/, developer.html faq.html general.html libavfilter.html $(ALLHTMLPAGES) $(ALLMANPAGES))
117 116

  
118
$(HTMLPAGES) $(PODPAGES): doc/fftools-common-opts.texi
117
documentation: $(DOCS)
119 118

  
120
doc/ffmpeg.pod doc/ffmpeg.html: doc/demuxers.texi doc/bitstream_filters.texi doc/eval.texi doc/indevs.texi doc/filters.texi doc/outdevs.texi doc/protocols.texi doc/metadata.texi
121
doc/ffplay.pod doc/ffplay.html: doc/demuxers.texi doc/eval.texi doc/indevs.texi doc/filters.texi doc/outdevs.texi doc/protocols.texi
122
doc/ffprobe.pod doc/ffprobe.html: doc/demuxers.texi doc/indevs.texi doc/protocols.texi
123
doc/libavfilter.html: doc/filters.texi
119
-include $(wildcard $(DOCS:%=%.d))
120

  
121
TEXIDEP = awk '/^@include/ { printf "$@: $(@D)/%s\n", $$2 }' <$< >$(@:%=%.d)
124 122

  
125 123
doc/%.html: TAG = HTML
126 124
doc/%.html: doc/%.texi $(SRC_PATH_BARE)/doc/t2h.init
125
	$(Q)$(TEXIDEP)
127 126
	$(M)cd doc && texi2html -monolithic --init-file $(SRC_PATH_BARE)/doc/t2h.init $(<:doc/%=%)
128 127

  
129 128
doc/%.pod: TAG = POD
130 129
doc/%.pod: doc/%.texi
130
	$(Q)$(TEXIDEP)
131 131
	$(M)doc/texi2pod.pl $< $@
132 132

  
133 133
doc/%.1: TAG = MAN

Also available in: Unified diff