Commit 2df184f3 authored by James Almer's avatar James Almer Committed by Michael Niedermayer

doc: fix install-doc dependencies

Put it inside its own ifdef conditional.
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d2382903
......@@ -88,15 +88,20 @@ $(DOCS) doc/doxy/html: | doc/
doc/doxy/html: $(SRC_PATH)/doc/Doxyfile $(INSTHEADERS)
$(M)$(SRC_PATH)/doc/doxy-wrapper.sh $(SRC_PATH) $^
install-doc:
install-man:
ifdef CONFIG_MANPAGES
install-progs-$(CONFIG_HTMLPAGES): install-doc
install-progs-$(CONFIG_DOC): install-man
ifdef CONFIG_HTMLPAGES
install-progs-$(CONFIG_DOC): install-doc
install-doc: $(HTMLPAGES)
$(Q)mkdir -p "$(DOCDIR)"
$(INSTALL) -m 644 $(HTMLPAGES) "$(DOCDIR)"
endif
ifdef CONFIG_MANPAGES
install-progs-$(CONFIG_DOC): 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