doc: Install symlink dir.html and fix references to it.
authorMatt Birkholz <matt@birchwood-abbey.net>
Sat, 24 Nov 2018 22:45:28 +0000 (15:45 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Sat, 24 Nov 2018 22:45:28 +0000 (15:45 -0700)
doc/Makefile.in
doc/make-common.in

index cc62411815323ccddbb5c808e237ab5d88565ebe..d3a6eee91f2fb73e080e56fb2489ece6209ac84c 100644 (file)
@@ -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;\
index 7e4595de778848036e25b797f8044b680261965e..df22354e4b65057fe2105cae1ce16822d42d2a73 100644 (file)
@@ -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)