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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user