]> git.donarmstrong.com Git - lilypond.git/commitdiff
Web build: include links for source.
authorGraham Percival <graham@percival-music.ca>
Sat, 10 Oct 2009 21:21:29 +0000 (22:21 +0100)
committerGraham Percival <graham@percival-music.ca>
Sat, 10 Oct 2009 21:21:29 +0000 (22:21 +0100)
Documentation/general/community.itexi
Documentation/general/download.itexi
scripts/build/create-version-itexi.py

index 71dd9294eeaa48781f696b9e25daa44d705e7157..cbd8e6289849cc82ab8abaa8099f64ff551d6d40 100644 (file)
@@ -438,12 +438,14 @@ the latest binary:
 
 @downloadDevelWindows
 
+@downloadDevelSource
+
 @end quotation
 
 
 @subheading Manuals
 
-FIXME: these need the automatic symlinks or something.  Maybe even
+@help these need the automatic symlinks or something.  Maybe even
 a hard-coded url to lilypond.org/docs/2.13 or something??
 
 Learning:
index 1b36e6e27484cc44f4d3cd8bf1873ae173f2f28f..76b2dbd67f091bc134bb09ebf0baa864d9268fd8 100644 (file)
@@ -318,7 +318,7 @@ cd ~/bin
 @item
 Create a file called @command{lilypond} which contains
 
-FIXME: obvious css issues to be dealt with.  :(
+@help obvious css issue to be dealt with.  :(
 @c we need a small font here to fit.  -gp
 @smallexample
 exec @var{DIR}/LilyPond.app/Contents/Resources/bin/lilypond "$@@"
@@ -493,8 +493,7 @@ pre-built version.}
 @divClass{column-left-bottom}
 @subheading Source tarball
 
-@c FIXME link @uref{http://download.linuxaudio.org/lilypond/sources/v2.12/lilypond-@versionStable{}.tar.gz,
-@c lilypond-@versionStable{}-source.tar.bz2}
+@downloadStableSource{}
 
 For an extensive listing of all versions (old and new), see our
 @uref{http://download.linuxaudio.org/lilypond/binaries/, download
index ddf46c3c6a726e5f3a34c457de339bee3a68c1ba..73a51891f809fa76353a349d340f1d1ed273b4ec 100644 (file)
@@ -40,6 +40,15 @@ def make_download(name, osA, osB, version, revision, text):
        string += "}"
        make_macro(name, string)
 
+def make_download_source(name, vstring, version):
+       string = "@uref{http://download.linuxaudio.org/lilypond/sources/"
+       string += vstring + "/"
+       string += "lilypond-" + version + ".tar.gz"
+       string += ", "
+       string += "lilypond-" + version + ".tar.gz"
+       string += "}"
+       make_macro(name, string)
+
 def make_all_downloads(macroName, version):
        make_download("download"+macroName+"LinuxNormal", "linux-x86/",
                "linux-x86.sh", version, "1", "Linux x86")
@@ -68,3 +77,7 @@ make_macro("versionDevel", VERSION_DEVEL)
 make_all_downloads("Stable", VERSION_STABLE)
 make_all_downloads("Devel", VERSION_DEVEL)
 
+# FIXME: icky hard-coding!  -gp
+make_download_source("downloadStableSource", "v2.12", VERSION_STABLE)
+make_download_source("downloadDevelSource", "v2.13", VERSION_DEVEL)
+