]> git.donarmstrong.com Git - lilypond.git/commitdiff
Docs: restore source links stuff
authorJohn Mandereau <john.mandereau@gmail.com>
Mon, 27 Jul 2009 08:41:31 +0000 (10:41 +0200)
committerJohn Mandereau <john.mandereau@gmail.com>
Mon, 27 Jul 2009 13:30:40 +0000 (15:30 +0200)
Documentation/GNUmakefile

index f3eeb87350585c10f0c4a536df987c567963dc22..15af53531a340d9a23a28bdc01760fa2655b351a 100644 (file)
@@ -60,6 +60,10 @@ OUT_HTML_FILES = $(UNSPLITTED_HTML_MANUALS:%=$(outdir)/%.html)\
  $(SPLITTED_HTML_MANUALS:%=$(outdir)/%-big-page.html)
 DEEP_HTML_FILES = $(SPLITTED_HTML_MANUALS:%=$(outdir)/%/index.html)
 
+# Symlinks to refer to external source documents from split and non-split HTML
+source-links = $(outdir)/source\
+ $(foreach manual, $(SPLITTED_HTML_MANUALS), $(outdir)/$(manual)/source)
+
 # Other out files
 HTML_PAGE_NAMES= index translations devel
 OUT_HTML_FILES += $(HTML_PAGE_NAMES:%=$(outdir)/%.html)
@@ -173,11 +177,6 @@ $(outdir)/%.pdf: %.eps
        gs -dAutoRotatePages=/None -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -sOutputFile=$@ -dEPSCrop -c .setpdfwrite -f $<
 
 
-# Symlinks to refer to external source documents from split and non-split HTML
-source-links = $(outdir)/source $(outdir)/notation/source $(outdir)/music-glossary/source \
- $(outdir)/application/source $(outdir)/learning/source $(outdir)/internals/source \
- $(outdir)/snippets/source
-
 $(outdir)/source:
        @rm -f $(@)
        ln -sf $(depth) $(@)