Re: [PATCH] [KERNEL-DOC] alphabetically-sorted entries inindex.html of 'htmldocs'

From: Randy Dunlap
Date: Wed Apr 11 2007 - 11:42:25 EST


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@xxxxxxxxxx>

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@xxxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/