about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-03-18 22:26:42 +0000
committerRoland McGrath <roland@gnu.org>2004-03-18 22:26:42 +0000
commite451ba6feec943ee02378ef115cb403c8c6fe136 (patch)
tree07685da064c57fbb61c77406bae654fe8b1a56da
parentf57ebe2988792ad10ca959a1fa75aeed4cfca7cd (diff)
downloadglibc-e451ba6feec943ee02378ef115cb403c8c6fe136.tar.gz
glibc-e451ba6feec943ee02378ef115cb403c8c6fe136.tar.xz
glibc-e451ba6feec943ee02378ef115cb403c8c6fe136.zip
* manual/Makefile (stamp-summary): Use -k option to sort,
	not traditional key selection syntax.
	Reported by Jim Gifford <giffordj@linkline.com>.
-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 $@