diff options
author | James Almer <jamrial@gmail.com> | 2013-09-01 19:00:06 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-07 21:41:43 +0200 |
commit | 2df184f3d5afbf7f0f325f85ca8101c524f39adb (patch) | |
tree | 3df6509aa060e19e658004cc146101d104f58d57 /doc/Makefile | |
parent | d2382903d6f28be8c713c9fa6dbd8f0ab7dab90f (diff) | |
download | ffmpeg-2df184f3d5afbf7f0f325f85ca8101c524f39adb.tar.gz |
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>
Diffstat (limited to 'doc/Makefile')
-rw-r--r-- | doc/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/Makefile b/doc/Makefile index a9b7ff4dd7..47f5cbed46 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -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" |