1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-11-09 23:48:13 +03:00

build: extend documentation building mechanism

Allow to select specific documentation components, and reliably check for
component dependencies.

In particular, check for perl presence on the system.
This commit is contained in:
Stefano Sabatini
2012-08-09 23:37:28 +02:00
parent ae60d2c877
commit c3da2c19e4
2 changed files with 31 additions and 7 deletions

View File

@@ -12,9 +12,10 @@ HTMLPAGES = $(PROGS-yes:%=doc/%.html) \
TXTPAGES = doc/fate.txt \
DOCS-$(HAVE_TEXI2HTML) += $(HTMLPAGES)
DOCS-$(HAVE_POD2MAN) += $(MANPAGES) $(PODPAGES)
DOCS-$(HAVE_MAKEINFO) += $(TXTPAGES)
DOCS-$(CONFIG_HTMLPAGES) += $(HTMLPAGES)
DOCS-$(CONFIG_PODPAGES) += $(PODPAGES)
DOCS-$(CONFIG_MANPAGES) += $(MANPAGES)
DOCS-$(CONFIG_TXTPAGES) += $(TXTPAGES)
DOCS = $(DOCS-yes)
all-$(CONFIG_DOC): documentation
@@ -53,7 +54,7 @@ $(DOCS): | doc/
install-man:
ifdef HAVE_POD2MAN
ifdef CONFIG_MANPAGES
install-progs-$(CONFIG_DOC): install-man
install-man: $(MANPAGES)