From: Randy Dunlap Date: Sun, 16 Feb 2020 07:26:06 +0000 (-0800) Subject: Documentation: sort _SPHINXDIRS for 'make help' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=965fc39f73932041441e03730db31516e285b61a;p=linux.git Documentation: sort _SPHINXDIRS for 'make help' Sort the _SPHINXDIRS so that the 'make help' output is easier to read & search and in a predictable order instead of some unknown pseudo-random order. Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/Makefile b/Documentation/Makefile index d77bb607aea4c..79ecee62d597f 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -13,7 +13,7 @@ endif SPHINXBUILD = sphinx-build SPHINXOPTS = SPHINXDIRS = . -_SPHINXDIRS = $(patsubst $(srctree)/Documentation/%/index.rst,%,$(wildcard $(srctree)/Documentation/*/index.rst)) +_SPHINXDIRS = $(sort $(patsubst $(srctree)/Documentation/%/index.rst,%,$(wildcard $(srctree)/Documentation/*/index.rst))) SPHINX_CONF = conf.py PAPER = BUILDDIR = $(obj)/output