]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Documentation/sphinx: make targets independent of Sphinx work for HAVE_SPHINX=0
authorJani Nikula <jani.nikula@intel.com>
Mon, 30 Jan 2017 16:58:15 +0000 (18:58 +0200)
committerJonathan Corbet <corbet@lwn.net>
Wed, 1 Feb 2017 20:10:54 +0000 (13:10 -0700)
commitc8929258a59b784a61dc0bbe3cfca6ebed5f47c4
tree393f7d1abab158ebacf0ecbcdce202d8aba388ef
parent7cabd5ac69a4135fd8dbc1f1bb9c9531a5f1e5c7
Documentation/sphinx: make targets independent of Sphinx work for HAVE_SPHINX=0

Make targets that don't depend on Sphinx work without warnings about
missing Sphinx. 'make cleandocs' will work without Sphinx just fine, and
the targets that are no-ops for Sphinx should just be skipped. Move them
outside of the HAVE_SPHINX checks to take precedence over the .DEFAULT
target for HAVE_SPHINX=0.

Reported-by: Jim Davis <jim.epost@gmail.com>
Reference: http://lkml.kernel.org/r/CA+r1ZhjRVqkjPXGOGB_BOAX2Hkfb+qQCtTzFfBMFeH1Mfeej7w@mail.gmail.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/Makefile.sphinx