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

From: Jim Davis
Date: Thu Feb 23 2017 - 14:44:22 EST


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.


--
Jim