]> git.donarmstrong.com Git - lilypond.git/commitdiff
Doc build: rewrite to use python 2.4 only.
authorGraham Percival <graham@percival-music.ca>
Thu, 24 Dec 2009 21:38:06 +0000 (21:38 +0000)
committerGraham Percival <graham@percival-music.ca>
Thu, 24 Dec 2009 21:38:06 +0000 (21:38 +0000)
GUB only has python 2.4.5, and it looks like upgrading to python
2.5 will be tricky, so I've rewritten this file to avoid using
nice python 2.5+ syntax.

scripts/build/create-version-itexi.py

index 3ff82f2a9c648dfa08596052d42c17ea4147d24a..5a64cc66eb1cbbf048d9f521d41a63d490c8db76 100644 (file)
@@ -106,7 +106,12 @@ def make_manual_links(name, version):
        for m in manuals:
                # FIXME: this is disgusting
                manual = m
-               mshort = 'glossary' if m=='music-glossary' else m
+               #mshort = 'glossary' if m=='music-glossary' else m
+               # grr, GUB only has python 2.4.5.  :(
+               if (m=='music-glossary'):
+                       mshort = 'glossary'
+               else:
+                       mshort = m
                make_ver_link("manual"+name+mshort.capitalize()+'Pdf',
                          version,
                          manual + '.pdf',