summaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2019-10-07 09:38:58 -0600
committerJonathan Corbet <corbet@lwn.net>2019-10-10 11:20:54 -0600
commit61d221b735e80819814dbff3f014b27a457d297b (patch)
tree57f4301fb2b42b6e314f38576e200946a98e73e7 /Documentation/Makefile
parentf704985b1e7ea0f9fde1cfb1354d57593ba62fcb (diff)
downloadlinux-rpi-61d221b735e80819814dbff3f014b27a457d297b.tar.gz
linux-rpi-61d221b735e80819814dbff3f014b27a457d297b.tar.bz2
linux-rpi-61d221b735e80819814dbff3f014b27a457d297b.zip
docs: Fix "make help" suggestion for SPHINXDIR
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>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index c6e564656a5b..ce8eb63b523a 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -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