]> git.donarmstrong.com Git - lilypond.git/commit
lilypond-book: Pass lilypond version to lilypond-book via env var in makefiles
authorReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 16 Nov 2008 18:16:03 +0000 (19:16 +0100)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Sun, 16 Nov 2008 20:29:20 +0000 (21:29 +0100)
commit2b8f3241e3c840434fc675e6974ca5bf8dc3fd93
tree8bebd223574b3ff36e571da8ea88f2ba36642c84
parent65f7a3993db06204af81a68f86a74efeb353d539
lilypond-book: Pass lilypond version to lilypond-book via env var in makefiles

When lilypond-book.py is called from our makefiles to build the documentation,
the @TOPLEVEL_VERSION@ string has not been expanded and the lilypond
version will not be available to lilypond-book.

This patch detects this case and uses the LILYPOND_VERSION environment
variable in that case, which is passed to lilypond-book.py by the makefiles.
make/ly-rules.make
scripts/lilypond-book.py