From: Graham Percival Date: Sat, 10 Oct 2009 21:21:29 +0000 (+0100) Subject: Web build: include links for source. X-Git-Tag: release/2.13.6-1~35 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5de18c80e3a8202faf4df4a82f20df038e5dedd4;p=lilypond.git Web build: include links for source. --- diff --git a/Documentation/general/community.itexi b/Documentation/general/community.itexi index 71dd9294ee..cbd8e62898 100644 --- a/Documentation/general/community.itexi +++ b/Documentation/general/community.itexi @@ -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: diff --git a/Documentation/general/download.itexi b/Documentation/general/download.itexi index 1b36e6e274..76b2dbd67f 100644 --- a/Documentation/general/download.itexi +++ b/Documentation/general/download.itexi @@ -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 diff --git a/scripts/build/create-version-itexi.py b/scripts/build/create-version-itexi.py index ddf46c3c6a..73a51891f8 100644 --- a/scripts/build/create-version-itexi.py +++ b/scripts/build/create-version-itexi.py @@ -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) +