diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-09-12 17:42:28 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-09-15 21:37:16 +0200 |
commit | 8c201dde0ab62e5cd581d958e78d7609e0ba710d (patch) | |
tree | 4495bf181a781f794f70171d64eb9589508400b1 | |
parent | bc7399934def210c2a84ea51375d50f79c676c96 (diff) | |
download | ffmpeg-streaming-8c201dde0ab62e5cd581d958e78d7609e0ba710d.zip ffmpeg-streaming-8c201dde0ab62e5cd581d958e78d7609e0ba710d.tar.gz |
build: doc: more fine-grained dependencies for generated texi files
-rw-r--r-- | doc/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/Makefile b/doc/Makefile index 2f6a5fb..c464a48 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,7 +1,8 @@ ALLMANPAGES = $(AVBASENAMES:%=%.1) MANPAGES = $(AVPROGS-yes:%=doc/%.1) PODPAGES = $(AVPROGS-yes:%=doc/%.pod) -HTMLPAGES = $(AVPROGS-yes:%=doc/%.html) \ +PROGSHTML = $(AVPROGS-yes:%=doc/%.html) +HTMLPAGES = $(PROGSHTML) \ doc/developer.html \ doc/faq.html \ doc/fate.html \ @@ -39,22 +40,24 @@ TEXIDEP = awk '/^@include/ { printf "$@: $(@D)/%s\n", $$2 }' <$< >$(@:%=%.d) GENTEXI = format codec GENTEXI := $(GENTEXI:%=doc/avoptions_%.texi) +$(MANPAGES) $(PODPAGES) $(PROGSHTML): $(GENTEXI) + $(GENTEXI): TAG = GENTEXI $(GENTEXI): doc/avoptions_%.texi: doc/print_options$(HOSTEXESUF) $(M)doc/print_options $* > $@ doc/%.html: TAG = HTML -doc/%.html: doc/%.texi $(SRC_PATH)/doc/t2h.init $(GENTEXI) +doc/%.html: doc/%.texi $(SRC_PATH)/doc/t2h.init $(Q)$(TEXIDEP) $(M)texi2html -I doc -monolithic --init-file $(SRC_PATH)/doc/t2h.init --output $@ $< doc/%.pod: TAG = POD -doc/%.pod: doc/%.texi $(SRC_PATH)/doc/texi2pod.pl $(GENTEXI) +doc/%.pod: doc/%.texi $(SRC_PATH)/doc/texi2pod.pl $(Q)$(TEXIDEP) $(M)$(SRC_PATH)/doc/texi2pod.pl -Idoc $< $@ doc/%.1: TAG = MAN -doc/%.1: doc/%.pod $(GENTEXI) +doc/%.1: doc/%.pod $(M)pod2man --section=1 --center=" " --release=" " $< > $@ $(DOCS) doc/doxy/html: | doc/ |