1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

doc: fix install-doc dependencies

Put it inside its own ifdef conditional.

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
James Almer 2013-09-01 19:00:06 -03:00 committed by Michael Niedermayer
parent d2382903d6
commit 2df184f3d5

View File

@ -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"