lkml.org 
[lkml]   [2007]   [Apr]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] [KERNEL-DOC] alphabetically-sorted entries in index.html of 'htmldocs'
On Wed, 11 Apr 2007 10:02:12 +0200 Borislav Petkov wrote:

> This patch sorts the DOCBOOKS entries in Documentation/DocBook/Makefile
> alphabetically.

---
From: Randy Dunlap <randy.dunlap@oracle.com>
Make docbook index.html contain sorted output.

I prefer to let the computer do it. This also avoids
people not reading the comment(s).

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
Documentation/DocBook/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2621-rc6.orig/Documentation/DocBook/Makefile
+++ linux-2621-rc6/Documentation/DocBook/Makefile
@@ -41,7 +41,7 @@ psdocs: $(PS)
PDF := $(patsubst %.xml, %.pdf, $(BOOKS))
pdfdocs: $(PDF)

-HTML := $(patsubst %.xml, %.html, $(BOOKS))
+HTML := $(sort $(patsubst %.xml, %.html, $(BOOKS)))
htmldocs: $(HTML)
$(call build_main_index)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-04-11 17:45    [from the cache]
©2003-2011 Jasper Spaans