summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--doc/Makefile.am6
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e8d72f2..f993738 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2019-02-13 Bruno Haible <bruno@clisp.org>
+ doc: Fix hyperlinks to table of contents in HTML doc.
+ Reported by Akim Demaille <akim.demaille@gmail.com>.
+ * doc/Makefile.am (libunistring_toc.html): Replace references to
+ libunistring.html with references to libunistring_toc.html.
+
+2019-02-13 Bruno Haible <bruno@clisp.org>
+
doc: Make function declarations easier to read.
* doc/uni*.texi: Inside the argument list of function declarations, use
no-break spaces instead of spaces, except directly after a comma.
diff --git a/doc/Makefile.am b/doc/Makefile.am
index e4c2f2e..44027dd 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,5 +1,5 @@
## Makefile for the doc subdirectory of GNU libunistring.
-## Copyright (C) 2009, 2011, 2014, 2017-2018 Free Software Foundation, Inc.
+## Copyright (C) 2009, 2011, 2014, 2017-2019 Free Software Foundation, Inc.
##
## This program is free software: you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -146,7 +146,9 @@ libunistring_toc.html: libunistring.texi version.texi $(libunistring_TEXINFOS)
$(TEXI2HTML) $(TEXINCLUDES) -no-sec-nav -no-menu -toc-links -number -split_chapter `if test -f libunistring.texi; then echo libunistring.texi; else echo $(srcdir)/libunistring.texi; fi` ;; \
esac \
&& { mv libunistring/libunistring.html libunistring_toc.html; \
- mv libunistring/*.html .; \
+ for file in libunistring/*.html; do \
+ sed -e 's/libunistring\.html/libunistring_toc.html/g' < $$file > `basename $$file` && rm -f $$file; \
+ done; \
rmdir libunistring; \
}