diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-11-21 16:57:56 -0800 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-11-23 09:45:06 -0800 |
commit | f187557ab4612776f7f527ecf3d40062975c3e4c (patch) | |
tree | b4fcab430f8c738470a660ce8cb41ba95f2a669f /doc | |
parent | 6f270da61b8c9a2dc71f48ae2a21e046d7f15b69 (diff) | |
download | ffmpeg-f187557ab4612776f7f527ecf3d40062975c3e4c.tar.gz |
build: more fine-grained dependencies for documentation build tools
Perl is needed to build the manual pages, texi2html for the HTML pages.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/Makefile b/doc/Makefile index 81f098e0b3..b76772bc2d 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -10,9 +10,11 @@ HTMLPAGES = $(PROGS-yes:%=doc/%.html) \ doc/nut.html \ doc/platform.html \ -DOCS = $(HTMLPAGES) $(MANPAGES) $(PODPAGES) +DOCS-$(CONFIG_PERL) += $(MANPAGES) $(PODPAGES) +DOCS-$(CONFIG_TEXI2HTML) += $(HTMLPAGES) +DOCS = $(DOCS-yes) -all-$(CONFIG_DOC): documentation +all: $(DOCS) apidoc: doc/doxy/html documentation: $(DOCS) @@ -45,7 +47,8 @@ $(DOCS) doc/doxy/html: | doc/ doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(INSTHEADERS) $(M)$(SRC_PATH)/doc/doxy-wrapper.sh $(SRC_PATH) $^ -install-progs-$(CONFIG_DOC): install-doc install-man +install-progs-$(CONFIG_PERL): install-man +install-progs-$(CONFIG_TEXI2HTML): install-doc install-doc: $(HTMLPAGES) $(Q)mkdir -p "$(DOCDIR)" |