From: John Mandereau Date: Thu, 10 Apr 2008 13:02:44 +0000 (+0200) Subject: Fix a bunch of HTML links X-Git-Tag: release/2.11.58-1~32^2~148 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3446d08d6c38fab1597d797989355cc23748f994;p=lilypond.git Fix a bunch of HTML links --- diff --git a/Documentation/de/index.html.in b/Documentation/de/index.html.in index dc28d7b0b0..96cfe37c05 100644 --- a/Documentation/de/index.html.in +++ b/Documentation/de/index.html.in @@ -105,7 +105,7 @@
  • Schnipsel (auf einer großen Seite, -als PDF) +als PDF)
    (Schnelle Tricks, Tipps und Beispiele.) diff --git a/Documentation/es/index.html.in b/Documentation/es/index.html.in index b79cd0b1c7..f5fcf6a230 100644 --- a/Documentation/es/index.html.in +++ b/Documentation/es/index.html.in @@ -91,9 +91,9 @@ y en PDF)   diff --git a/Documentation/user/GNUmakefile b/Documentation/user/GNUmakefile index 4ba6660a17..6c93639a7b 100644 --- a/Documentation/user/GNUmakefile +++ b/Documentation/user/GNUmakefile @@ -119,12 +119,12 @@ source-links = $(outdir)/source $(outdir)/lilypond/source $(outdir)/music-glossa $(outdir)/source: @rm -f $(@) - ln -sf ../../ $(@) + ln -sf $(depth) $(@) $(outdir)/%/source: @rm -f $(@) mkdir -p $(dir $@) - ln -sf ../../../ $(@) + ln -sf $(depth)/.. $(@) local-WWW: $(HTML_FILES) $(DEEP_HTML_FILES)\ $(datafiles) $(PDF_FILES) $(source-links) info diff --git a/input/lsr/GNUmakefile b/input/lsr/GNUmakefile index 16946ea380..57303b0499 100644 --- a/input/lsr/GNUmakefile +++ b/input/lsr/GNUmakefile @@ -26,6 +26,17 @@ $(outdir)/%.itely: %-intro.itely %.snippet-list $(outdir)/lilypond-snippets.texi: $(GENERATED_ITELY_FILES) +source-links = $(outdir)/source $(outdir)/lilypond-snippets/source + +$(outdir)/source: + @rm -f $(@) + ln -sf $(depth) $(@) + +$(outdir)/%/source: + @rm -f $(@) + mkdir -p $(dir $@) + ln -sf $(depth)/.. $(@) + info: $(INFO_FILES) ifneq ($(out),www) @@ -47,4 +58,5 @@ local-clean: local-WWW: info $(outdir)/lilypond-snippets.pdf \ $(outdir)/lilypond-snippets/index.html \ - $(outdir)/lilypond-snippets-big-page.html + $(outdir)/lilypond-snippets-big-page.html \ + source-links