Commit eff2edae authored by James Almer's avatar James Almer Committed by Michael Niedermayer

Partially revert "Merge commit 'f187557a'"

This partially reverts commit c0237d19
Some scripts make use of --disable-doc
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5e1c57f5
...@@ -1228,6 +1228,7 @@ EXTERNAL_LIBRARY_LIST=" ...@@ -1228,6 +1228,7 @@ EXTERNAL_LIBRARY_LIST="
" "
DOCUMENT_LIST=" DOCUMENT_LIST="
doc
htmlpages htmlpages
manpages manpages
podpages podpages
...@@ -2294,6 +2295,7 @@ podpages_deps="perl" ...@@ -2294,6 +2295,7 @@ podpages_deps="perl"
manpages_deps="perl pod2man" manpages_deps="perl pod2man"
htmlpages_deps="texi2html" htmlpages_deps="texi2html"
txtpages_deps="makeinfo" txtpages_deps="makeinfo"
doc_deps_any="manpages htmlpages podpages txtpages"
# default parameters # default parameters
......
...@@ -36,8 +36,9 @@ DOCS-$(CONFIG_MANPAGES) += $(MANPAGES) ...@@ -36,8 +36,9 @@ DOCS-$(CONFIG_MANPAGES) += $(MANPAGES)
DOCS-$(CONFIG_TXTPAGES) += $(TXTPAGES) DOCS-$(CONFIG_TXTPAGES) += $(TXTPAGES)
DOCS = $(DOCS-yes) DOCS = $(DOCS-yes)
all-$(CONFIG_DOC): doc
doc: documentation doc: documentation
all: $(DOCS)
apidoc: doc/doxy/html apidoc: doc/doxy/html
documentation: $(DOCS) documentation: $(DOCS)
...@@ -94,7 +95,7 @@ install-html: ...@@ -94,7 +95,7 @@ install-html:
install-man: install-man:
ifdef CONFIG_HTMLPAGES ifdef CONFIG_HTMLPAGES
install-progs: install-html install-progs-$(CONFIG_DOC): install-html
install-html: $(HTMLPAGES) install-html: $(HTMLPAGES)
$(Q)mkdir -p "$(DOCDIR)" $(Q)mkdir -p "$(DOCDIR)"
...@@ -102,7 +103,7 @@ install-html: $(HTMLPAGES) ...@@ -102,7 +103,7 @@ install-html: $(HTMLPAGES)
endif endif
ifdef CONFIG_MANPAGES ifdef CONFIG_MANPAGES
install-progs: install-man install-progs-$(CONFIG_DOC): install-man
install-man: $(MANPAGES) install-man: $(MANPAGES)
$(Q)mkdir -p "$(MANDIR)/man1" $(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