Commit c0237d19 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'f187557a'

* commit 'f187557a':
  build: more fine-grained dependencies for documentation build tools

Conflicts:
	configure
	doc/Makefile
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 3d5a5e86 f187557a
......@@ -1228,7 +1228,6 @@ EXTERNAL_LIBRARY_LIST="
"
DOCUMENT_LIST="
doc
htmlpages
manpages
podpages
......@@ -2295,7 +2294,6 @@ podpages_deps="perl"
manpages_deps="perl pod2man"
htmlpages_deps="texi2html"
txtpages_deps="makeinfo"
doc_deps_any="manpages htmlpages podpages txtpages"
# default parameters
......@@ -4376,7 +4374,7 @@ enabled sdl && add_cflags $sdl_cflags && add_extralibs $sdl_libs
texi2html --help 2> /dev/null | grep -q 'init-file' && enable texi2html || disable texi2html
makeinfo --version > /dev/null 2>&1 && enable makeinfo || disable makeinfo
perl --version > /dev/null 2>&1 && enable perl || disable perl
perl -v > /dev/null 2>&1 && enable perl || disable perl
pod2man --help > /dev/null 2>&1 && enable pod2man || disable pod2man
rsync --help 2> /dev/null | grep -q 'contimeout' && enable rsync_contimeout || disable rsync_contimeout
......
......@@ -36,9 +36,8 @@ DOCS-$(CONFIG_MANPAGES) += $(MANPAGES)
DOCS-$(CONFIG_TXTPAGES) += $(TXTPAGES)
DOCS = $(DOCS-yes)
all-$(CONFIG_DOC): doc
doc: documentation
all: $(DOCS)
apidoc: doc/doxy/html
documentation: $(DOCS)
......@@ -95,7 +94,7 @@ install-html:
install-man:
ifdef CONFIG_HTMLPAGES
install-progs-$(CONFIG_DOC): install-html
install-progs: install-html
install-html: $(HTMLPAGES)
$(Q)mkdir -p "$(DOCDIR)"
......@@ -103,7 +102,7 @@ install-html: $(HTMLPAGES)
endif
ifdef CONFIG_MANPAGES
install-progs-$(CONFIG_DOC): install-man
install-progs: install-man
install-man: $(MANPAGES)
$(Q)mkdir -p "$(MANDIR)/man1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment