changeset 5812:9ea2f4804106

lilypond-ancient: also set TeX env vars in lilypond.reloc. Fixes tex/mf runs.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 15 Oct 2009 13:03:08 +0200
parents c2314510092b
children 16524f1c9e4d
files gub/specs/lilypond-ancient.py
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/lilypond-ancient.py	Thu Oct 15 11:57:53 2009 +0200
+++ b/gub/specs/lilypond-ancient.py	Thu Oct 15 13:03:08 2009 +0200
@@ -194,7 +194,11 @@
     def install (self):
         target.AutoBuild.install (self)
         self.system ('cd %(install_prefix)s/bin && ln -s lilypond lilypond-ancient')
-        self.dump ('''set LILYPONDPREFIX=$INSTALLER_PREFIX/share/lilypond/%(version)s
+        self.dump ('''
+set LILYPONDPREFIX=$INSTALLER_PREFIX/share/lilypond/%(version)s
+prepend MFINPUTS=$INSTALLER_PREFIX/share/lilypond/%(version)s//:
+prepend TEXINPUTS=$INSTALLER_PREFIX/share/lilypond/%(version)s//:
+prepend TFMINPUTS=$INSTALLER_PREFIX/share/lilypond/%(version)s//:
 ''',
                    '%(install_prefix)s/etc/relocate/lilypond.reloc',
                    env=locals ())