From: Mauro Carvalho Chehab Date: Sun, 16 Jul 2017 22:08:06 +0000 (-0300) Subject: doc: Makefile: if sphinx is not found, run a check script X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=92a037f01ab3e7b8e5b0533faf42d4bbfce04e98;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git doc: Makefile: if sphinx is not found, run a check script Right now, if the building system doesn't find Sphinx, it bails out, without providing any instructions about what should be done. Instead, run a script, providing some guidance about the steps needed for Sphinx build to work. Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/Makefile b/Documentation/Makefile index d75c00e3aadb..85f7856f0092 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -22,6 +22,8 @@ ifeq ($(HAVE_SPHINX),0) .DEFAULT: $(warning The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed and in PATH, or set the SPHINXBUILD make variable to point to the full path of the '$(SPHINXBUILD)' executable.) + @echo + @./scripts/sphinx-pre-install @echo " SKIP Sphinx $@ target." else # HAVE_SPHINX