]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc build: simplify sed rule.
authorGraham Percival <graham@percival-music.ca>
Fri, 23 Oct 2009 18:26:54 +0000 (19:26 +0100)
committerGraham Percival <graham@percival-music.ca>
Fri, 23 Oct 2009 18:26:54 +0000 (19:26 +0100)
This might fix Carl's problem in
http://lists.gnu.org/archive/html/lilypond-devel/2009-10/msg00201.html

Documentation/GNUmakefile

index 3f3460998c0d5598a3640544df47c25635ab7bbe..4e4bf89aa604c6302f6a49dad22f7d4190e2f35a 100644 (file)
@@ -146,8 +146,8 @@ 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/<a href=\"\.\.\//<a href=\"/'
+       find $(outdir) -name "*.html" | xargs sed -i 's/..\/general\//..\//'
+       ls $(outdir)/*.html | xargs sed -i 's/<a href=\"..\//<a href=\"/'
 endif