diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2020-02-15 23:26:06 -0800 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-02-19 04:05:34 -0700 |
commit | 965fc39f73932041441e03730db31516e285b61a (patch) | |
tree | e2cf00be6991941ac3ebd4bbe7036f96b6282b8d /Documentation/Makefile | |
parent | fb0e0ffe7fc8e0e91481e67665f1d646bfd071f2 (diff) |
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 <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r-- | Documentation/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile index d77bb607aea4..79ecee62d597 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 |