]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
docs: Fix "make help" suggestion for SPHINXDIR
authorJonathan Corbet <corbet@lwn.net>
Mon, 7 Oct 2019 15:38:58 +0000 (09:38 -0600)
committerJonathan Corbet <corbet@lwn.net>
Thu, 10 Oct 2019 17:20:54 +0000 (11:20 -0600)
Commit 9fc3a18a942f ("docs: remove extra conf.py files") broke the setting
of _SPHINXDIRS in Documentation/Makefile.  Let's just have it look for an
index.rst file instead.

Fixes: 9fc3a18a942f ("docs: remove extra conf.py files")
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/Makefile

index c6e564656a5bb446148310c19a85bb2bd0162396..ce8eb63b523afb7b1428541a32f1cccd425b87cc 100644 (file)
@@ -13,7 +13,7 @@ endif
 SPHINXBUILD   = sphinx-build
 SPHINXOPTS    =
 SPHINXDIRS    = .
-_SPHINXDIRS   = $(patsubst $(srctree)/Documentation/%/conf.py,%,$(wildcard $(srctree)/Documentation/*/conf.py))
+_SPHINXDIRS   = $(patsubst $(srctree)/Documentation/%/index.rst,%,$(wildcard $(srctree)/Documentation/*/index.rst))
 SPHINX_CONF   = conf.py
 PAPER         =
 BUILDDIR      = $(obj)/output