This is ugly, but it works. We'll add a graceful way to do this
once people have the waf stuff working.
-@ref{Download, Download 2.12.3}
+@ref{Download, Download @versionStable}
-@ref{Manuals, Manuals 2.12.3}
+@ref{Manuals, Manuals @versionStable}
-@ref{Development, Download 2.13.2}
+@ref{Development, Download @versionDevel}
-@ref{Development, Manuals 2.13.2}
+@ref{Development, Manuals @versionDevel}
@unnumbered Download
@divClass{heading-center}
@unnumbered Download
@divClass{heading-center}
-@heading Downloads for LilyPond 2.12.2
+@heading Downloads for LilyPond @versionStable
@subheading Software License
@subheading Software License
-LilyPond is published under the @ref{GPL, GNU General Public
-License}.
+LilyPond is published under the
+@ref{GPL, GNU General Public License}.
@item
@sourceimage{logo-linux,,,}
@item
@sourceimage{logo-linux,,,}
-@uref{http://download.linuxaudio.org/lilypond/binaries/linux-x86/lilypond-2.12.2-1.linux-x86.sh,
-Linux x86: LilyPond 2.12.2} (if in doubt, use this)
+@uref{http://download.linuxaudio.org/lilypond/binaries/linux-x86/lilypond-@versionStable{}-1.linux-x86.sh,
+Linux x86: LilyPond @versionStable{}} (if in doubt, use this)
@item
@sourceimage{logo-linux,,,}
@item
@sourceimage{logo-linux,,,}
-@uref{http://download.linuxaudio.org/lilypond/binaries/linux-64/lilypond-2.12.2-1.linux-64.sh,
-Linux 64-bit: LilyPond 2.12.2}
+@uref{http://download.linuxaudio.org/lilypond/binaries/linux-64/lilypond-@versionStable{}-1.linux-64.sh,
+Linux 64-bit: LilyPond @versionStable{}}
@item
@sourceimage{logo-linux,,,}
@item
@sourceimage{logo-linux,,,}
-@uref{http://download.linuxaudio.org/lilypond/binaries/linux-ppc/lilypond-2.12.2-1.linux-ppc.sh,
-Linux PPC: LilyPond 2.12.2}
+@uref{http://download.linuxaudio.org/lilypond/binaries/linux-ppc/lilypond-@versionStable{}-1.linux-ppc.sh,
+Linux PPC: LilyPond @versionStable{}}
@item
@sourceimage{logo-freebsd,,,}
@item
@sourceimage{logo-freebsd,,,}
-@uref{http://download.linuxaudio.org/lilypond/binaries/freebsd-x86/lilypond-2.12.2-1.freebsd-x86.sh,
-FreeBSD i386: LilyPond 2.12.2}
+@uref{http://download.linuxaudio.org/lilypond/binaries/freebsd-x86/lilypond-@versionStable{}-1.freebsd-x86.sh,
+FreeBSD i386: LilyPond @versionStable{}}
@item
@sourceimage{logo-freebsd,,,}
@item
@sourceimage{logo-freebsd,,,}
-@uref{http://download.linuxaudio.org/lilypond/binaries/freebsd-64/lilypond-2.12.2-1.freebsd-64.sh,
-FreeBSD amd64: LilyPond 2.12.2}
+@uref{http://download.linuxaudio.org/lilypond/binaries/freebsd-64/lilypond-@versionStable{}-1.freebsd-64.sh,
+FreeBSD amd64: LilyPond @versionStable{}}
@example
cd PATH-TO-DOWNLOAD-DIRECTORY
@example
cd PATH-TO-DOWNLOAD-DIRECTORY
-sh lilypond-X.Y.Z-EXAMPLE.sh
+sh lilypond-@versionStable{}-OS-TYPE.sh
@end example
@subsubheading Uninstall
@end example
@subsubheading Uninstall
@item
@sourceimage{logo-macosx,,,}
@uref{
@item
@sourceimage{logo-macosx,,,}
@uref{
-http://download.linuxaudio.org/lilypond/binaries/darwin-x86/lilypond-2.12.2-1.darwin-x86.tar.bz2,
-lilypond-2.12.2-1.darwin-x86.tar.bz2}
+http://download.linuxaudio.org/lilypond/binaries/darwin-x86/lilypond-@versionStable{}-1.darwin-x86.tar.bz2,
+lilypond-@versionStable{}.darwin-x86.tar.bz2}
For Intel chips (if in doubt, use this).
@item
@sourceimage{logo-macosx,,,}
@uref{
For Intel chips (if in doubt, use this).
@item
@sourceimage{logo-macosx,,,}
@uref{
-http://download.linuxaudio.org/lilypond/binaries/darwin-x86/lilypond-2.12.2-1.darwin-ppc.tar.bz2,
-lilypond-2.12.2-1.darwin-ppc.tar.bz2}
+http://download.linuxaudio.org/lilypond/binaries/darwin-x86/lilypond-@versionStable{}-1.darwin-ppc.tar.bz2,
+lilypond-@versionStable{}.darwin-ppc.tar.bz2}
For G3 and G4 CPUs (old Apple computers).
@end itemize
For G3 and G4 CPUs (old Apple computers).
@end itemize
@item
@sourceimage{logo-windows,,,}
@uref{
@item
@sourceimage{logo-windows,,,}
@uref{
-http://download.linuxaudio.org/lilypond/binaries/mingw/lilypond-2.12.2-1.mingw.exe,
-lilypond-2.12.2-1.mingw-exe}
+http://download.linuxaudio.org/lilypond/binaries/mingw/lilypond-@versionStable{}-1.mingw.exe,
+lilypond-@versionStable{}.mingw-exe}
For Windows ME, NT, 2000, XP, and Vista.
@end itemize
For Windows ME, NT, 2000, XP, and Vista.
@end itemize
@divClass{column-left-bottom}
@subheading Source tarball
@divClass{column-left-bottom}
@subheading Source tarball
-@uref{http://download.linuxaudio.org/lilypond/sources/v2.12/lilypond-2.12.2.tar.gz,
-lilypond-2.12.2-source.tar.bz2}
+FIXME link @uref{http://download.linuxaudio.org/lilypond/sources/v2.12/lilypond-@versionStable{}.tar.gz,
+lilypond-@versionStable{}-source.tar.bz2}
For an extensive listing of all versions (old and new), see our
@uref{http://download.linuxaudio.org/lilypond/binaries/, download
For an extensive listing of all versions (old and new), see our
@uref{http://download.linuxaudio.org/lilypond/binaries/, download
@unnumbered Manuals
@divClass{heading-center}
@unnumbered Manuals
@divClass{heading-center}
-@heading Documentation for LilyPond 2.12.2
+@heading Documentation for LilyPond @version
MINOR_VERSION=13
PATCH_LEVEL=4
MY_PATCH_LEVEL=
MINOR_VERSION=13
PATCH_LEVEL=4
MY_PATCH_LEVEL=
+VERSION_STABLE=2.12.2
+VERSION_DEVEL=2.13.3
TOPLEVEL_PATCH_LEVEL=$(PATCH_LEVEL)
# use to send patches, always empty for released version:
TOPLEVEL_MY_PATCH_LEVEL=$(MY_PATCH_LEVEL)
TOPLEVEL_PATCH_LEVEL=$(PATCH_LEVEL)
# use to send patches, always empty for released version:
TOPLEVEL_MY_PATCH_LEVEL=$(MY_PATCH_LEVEL)
+
+# TODO: used for the website; John says that he'll rewrite this
+TOPLEVEL_VERSION_STABLE=$(VERSION_STABLE)
+TOPLEVEL_VERSION_DEVEL=$(VERSION_DEVEL)
echo '@macro version'> $@
echo $(TOPLEVEL_VERSION)>> $@
echo '@end macro'>> $@
echo '@macro version'> $@
echo $(TOPLEVEL_VERSION)>> $@
echo '@end macro'>> $@
+ echo ''>> $@
+ echo '@macro versionStable'>> $@
+ echo $(TOPLEVEL_VERSION_STABLE)>> $@
+ echo '@end macro'>> $@
+ echo ''>> $@
+ echo '@macro versionDevel'>> $@
+ echo $(TOPLEVEL_VERSION_DEVEL)>> $@
+ echo '@end macro'>> $@
.SECONDARY: $(outdir)/version.itexi $(outdir)/version.texi \
$(outdir)/$(INFO_IMAGES_DIR).info-images-dir-dep \
.SECONDARY: $(outdir)/version.itexi $(outdir)/version.texi \
$(outdir)/$(INFO_IMAGES_DIR).info-images-dir-dep \