From: Matt Birkholz Date: Sat, 24 Nov 2018 22:45:28 +0000 (-0700) Subject: doc: Install symlink dir.html and fix references to it. X-Git-Tag: mit-scheme-pucked-10.1.2~15 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=76db8de067e75073fd0b8c4849661f43a42fe1a7;p=mit-scheme.git doc: Install symlink dir.html and fix references to it. --- 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)