aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-24 04:55:35 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-24 04:55:35 +0100
commitc0237d19a0269ff44e909434f1b2b645fad2d281 (patch)
tree1686c2fccf93e9ea4515e3701393a3bbcb811567
parent3d5a5e86be2a65e33c34ab3ad7923f54e8e49c1d (diff)
parentf187557ab4612776f7f527ecf3d40062975c3e4c (diff)
downloadffmpeg-c0237d19a0269ff44e909434f1b2b645fad2d281.tar.gz
Merge commit 'f187557ab4612776f7f527ecf3d40062975c3e4c'
* commit 'f187557ab4612776f7f527ecf3d40062975c3e4c': build: more fine-grained dependencies for documentation build tools Conflicts: configure doc/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xconfigure4
-rw-r--r--doc/Makefile7
2 files changed, 4 insertions, 7 deletions
diff --git a/configure b/configure
index 1e138fa9dc..a83b1f0f21 100755
--- a/configure
+++ b/configure
@@ -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
diff --git a/doc/Makefile b/doc/Makefile
index 50a68b4e05..405f639349 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -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"