Re: making documentation targets on v4.10 with Fedora 25

From: Markus Heiser
Date: Thu Feb 23 2017 - 17:16:02 EST




On 23.02.2017 20:44, Jim Davis wrote:
On Thu, Feb 23, 2017 at 2:59 AM, Jani Nikula
<jani.nikula@xxxxxxxxxxxxxxx> wrote:
On Mon, 20 Feb 2017, Jim Davis <jim.epost@xxxxxxxxx> wrote:
For the Sphinx targets, htmldocs, pdfdocs, epubdocs, and cleandocs
failed. cleandocs works without the O= argument, and arguably the O=
thing isn't very useful with any of these targets, but it is supported
by the top-level Makefile.

Why do you say O= isn't useful with the targets?

You're right, they are. Silly me.

Something like

diff --git a/Documentation/Makefile.sphinx b/Documentation/Makefile.sphinx
index 707c65337ebf..eb4294322150 100644
--- a/Documentation/Makefile.sphinx
+++ b/Documentation/Makefile.sphinx
@@ -98,7 +98,7 @@ installmandocs:

cleandocs:
$(Q)rm -rf $(BUILDDIR)
- $(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) -C Documentation/media clean
+ $(Q)$(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) -C
$(srctree)/Documentation/media clean

endif # HAVE_SPHINX

seems to get cleandocs working again.

I guess the O= error was already patched:

http://www.spinics.net/lists/linux-doc/msg42989.html


-- Markus --