@@ -53,9 +53,11 @@ else # HAVE_RST2PDF
endif # HAVE_RST2PDF
epubdocs:
+ $(MAKE) BUILDDIR=$(BUILDDIR) -f $(srctree)/Documentation/media/Makefile $@
$(call cmd,sphinx,epub)
xmldocs:
+ $(MAKE) BUILDDIR=$(BUILDDIR) -f $(srctree)/Documentation/media/Makefile $@
$(call cmd,sphinx,xml)
# no-ops for the Sphinx toolchain
@@ -11,6 +11,9 @@ FILES = audio.h.rst ca.h.rst dmx.h.rst frontend.h.rst net.h.rst video.h.rst \
TARGETS := $(addprefix $(BUILDDIR)/, $(FILES))
htmldocs: $(BUILDDIR) ${TARGETS}
+epubdocs: $(BUILDDIR) ${TARGETS}
+xmldocs: $(BUILDDIR) ${TARGETS}
+pdfdocs: $(BUILDDIR) ${TARGETS}
$(BUILDDIR):
$(Q)mkdir -p $@
Right now, the media makefile is called only for html docs. Call it also for the other documentation targets. Please notice that, while we added it to pdf target at Documentation/media/Makefile, it won't actually build a PDF from media, because rst2pdf can't handle complex documents. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com> --- Documentation/Makefile.sphinx | 2 ++ Documentation/media/Makefile | 3 +++ 2 files changed, 5 insertions(+)