From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 17231C3B1BF for ; Sun, 16 Feb 2020 07:26:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D1BD720857 for ; Sun, 16 Feb 2020 07:26:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="opvl18cx" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725926AbgBPH0H (ORCPT ); Sun, 16 Feb 2020 02:26:07 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:56076 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725866AbgBPH0G (ORCPT ); Sun, 16 Feb 2020 02:26:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc: Content-ID:Content-Description:In-Reply-To:References; bh=PhQ0i38oEIy8rxcG5bvlNNl7qCVmgAaM1CT0P3kL5u4=; b=opvl18cxl5iKN056DviJ4XPdq7 4fAhmFKpTtffSD92oE5bLHVh2HiGIXB7Fy+MhQ7m1uvYdiFqXUZkJxoMPGuzyV+5d31i49WU766hR jfdM7NKMW0H4+wtJiqcHiB0UWkx9xfOysy6vWR7DE5YWi+obf66azD3x5S9jVTfGK7Uj/jZcLDdWD VeCD8Re3jLK9joEH4GlTZNzSANMBaKq1JtKqMdMNYzc0u3qrWK1MEMKZ/7FNfxjrOt3gp5GAVMrr6 XtPvS4KOseSDUI9mr9e6dfNy4cRtpfJ3BP1ZHjPPEMfeTq2vAYDBWGfvKBLFne+SeXPHOYgrcN+vp 5r36nljw==; Received: from [2601:1c0:6280:3f0::19c2] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1j3EJa-0003mL-JK; Sun, 16 Feb 2020 07:26:06 +0000 To: LKML , "linux-doc@vger.kernel.org" , Jonathan Corbet From: Randy Dunlap Subject: [PATCH] Documentation: sort _SPHINXDIRS for 'make help' Message-ID: Date: Sat, 15 Feb 2020 23:26:06 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org From: Randy Dunlap 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 --- Documentation/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- lnx-56-rc1.orig/Documentation/Makefile +++ lnx-56-rc1/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