Reported by Akim Demaille <akim.demaille@gmail.com>.
* libtextstyle/doc/Makefile.am (libunistring_toc.html): Replace references to
libtextstyle.html with references to libtextstyle_toc.html.
$(TEXI2HTML) $(TEXINCLUDES) -no-sec-nav -no-menu -toc-links -number -split_chapter `if test -f libtextstyle.texi; then echo libtextstyle.texi; else echo $(srcdir)/libtextstyle.texi; fi` ;; \
esac \
&& { mv libtextstyle/libtextstyle.html libtextstyle_toc.html; \
- mv libtextstyle/*.html .; \
+ for file in libtextstyle/*.html; do \
+ sed -e 's/libtextstyle\.html/libtextstyle.html/g' < $$file > `basename $$file` && rm -f $$file; \
+ done; \
rmdir libtextstyle; \
}