From 2afc2b9808dcaacf3953be6860561637518a3e3d Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Sun, 18 Oct 2009 20:13:47 +0100 Subject: [PATCH] Doc build: fix URLs for @refs to/from general. This is a bit ugly, but as far as I can see, it's the only way to do it without seriously hacking the texi2html init file. --- Documentation/GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index 77bc9d194f..eaae4f18ba 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -144,6 +144,9 @@ ifeq ($(out),www) local-WWW-1: $(OUT_TEXINFO_MANUALS) $(PDF_FILES) info local-WWW-2: txt-to-html $(OUT_HTML_FILES) $(DEEP_HTML_FILES) $(source-links) $(OMF_FILES) + # fix links from other manuals to general + find $(outdir) -name "*.html" | xargs sed -i 's/\.\.\/general\//\.\.\//' + ls $(outdir)/*.html | xargs sed -i 's/