Documentation/sphinx: do not warn about missing tools in 'make help'
authorJani Nikula <jani.nikula@intel.com>
Mon, 1 Aug 2016 09:37:05 +0000 (12:37 +0300)
committerJonathan Corbet <corbet@lwn.net>
Wed, 3 Aug 2016 21:41:31 +0000 (15:41 -0600)
Simply move the dochelp rule outside of the HAVE_SPHINX check,
overriding the .DEFAULT rule for HAVE_SPHINX=0.

Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Christian Kujau <lists@nerdbynature.de>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/Makefile.sphinx

index d8d13c9..bcb07f8 100644 (file)
@@ -67,6 +67,8 @@ cleanmediadocs:
 cleandocs:
        $(Q)rm -rf $(BUILDDIR)
 
+endif # HAVE_SPHINX
+
 dochelp:
        @echo  ' Linux kernel internal documentation in different formats (Sphinx):'
        @echo  '  htmldocs        - HTML'
@@ -74,5 +76,3 @@ dochelp:
        @echo  '  epubdocs        - EPUB'
        @echo  '  xmldocs         - XML'
        @echo  '  cleandocs       - clean all generated files'
-
-endif # HAVE_SPHINX