From d0dabb0ff6810e1e50b5292b5418817184b0eed4 Mon Sep 17 00:00:00 2001 From: "David Adam (zanchey)" Date: Tue, 18 Dec 2012 22:30:28 +0800 Subject: [PATCH] documentation TOC: remove duplicate name attributes, use id attribute instead --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 47f83e9fa..7ef64e90b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -373,8 +373,8 @@ toc.txt: $(subst index.hdr,index.hdr.in,$(HDR_FILES)) NAME=`basename $$i .hdr`; \ NAME=`basename $$NAME .hdr.in`; \ sed <$$i >>toc.tmp -n \ - -e 's,.*\\page *\([^ ]*\) *\(.*\)$$,- \2,p' \ - -e 's,.*\\section *\([^ ]*\) *\(.*\)$$, - \2,p'; \ + -e 's,.*\\page *\([^ ]*\) *\(.*\)$$,- \2,p' \ + -e 's,.*\\section *\([^ ]*\) *\(.*\)$$, - \2,p'; \ done mv toc.tmp $@