about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--manual/Makefile5
2 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 20fb9a5916..61fad079a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-03-18  Roland McGrath  <roland@redhat.com>
+
+	* manual/Makefile (stamp-summary): Use -k option to sort,
+	not traditional key selection syntax.
+	Reported by Jim Gifford <giffordj@linkline.com>.
+
 2004-03-18  Jakub Jelinek  <jakub@redhat.com>
 
 	* elf/ldconfig.c: Include stdbool.h.
diff --git a/manual/Makefile b/manual/Makefile
index 8bcc5d0ae2..a29fdd29a3 100644
--- a/manual/Makefile
+++ b/manual/Makefile
@@ -1,4 +1,5 @@
-# Copyright (C) 1992-1999,2000,2001,2002,2003 Free Software Foundation, Inc.
+# Copyright (C) 1992-1999,2000,2001,2002,2003,2004
+#	Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -85,7 +86,7 @@ libc/index.html: chapters.texi top-menu.texi libm-err.texi
 # Generate the summary from the Texinfo source files for each chapter.
 summary.texi: stamp-summary ;
 stamp-summary: summary.awk $(filter-out summary.texi, $(texis))
-	$(AWK) -f $^ | sort -t'' -df +0 -1 | tr '\014' '\012' > summary-tmp
+	$(AWK) -f $^ | sort -t'' -df -k 1,1 | tr '\014' '\012' > summary-tmp
 	$(move-if-change) summary-tmp summary.texi
 	touch $@