From 76db8de067e75073fd0b8c4849661f43a42fe1a7 Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Sat, 24 Nov 2018 15:45:28 -0700 Subject: [PATCH] doc: Install symlink dir.html and fix references to it. --- doc/Makefile.in | 1 + doc/make-common.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/Makefile.in b/doc/Makefile.in index cc6241181..d3a6eee91 100644 --- a/doc/Makefile.in +++ b/doc/Makefile.in @@ -140,6 +140,7 @@ install-man: install-html: $(mkinstalldirs) $(DESTDIR)$(htmldir) $(INSTALL_DATA) index.html style.css $(DESTDIR)$(htmldir)/. + $(LN_S) index.html dir.html @for D in $(SUBDIRS); do \ echo "making $@ in $${D}";\ ( cd $${D} && $(MAKE) $@ ) || exit 1;\ diff --git a/doc/make-common.in b/doc/make-common.in index 7e4595de7..df22354e4 100644 --- a/doc/make-common.in +++ b/doc/make-common.in @@ -84,7 +84,7 @@ $(INFO_TARGET): $(SOURCES) $(HTML_TARGET)/index.html: $(SOURCES) rm -rf $(HTML_TARGET) makeinfo --html --css-ref=../style.css $(TEXINFO_ROOT).texinfo - sed -e 's,href="../dir/index.html",href="../index.html",g' $@ >$@.fixed + sed -e 's,href="../dir/index.html",href="../dir.html",g' $@ >$@.fixed mv $@.fixed $@ $(PDF_TARGET): $(SOURCES) -- 2.25.1