From: Han-Wen Nienhuys Date: Wed, 17 May 2006 17:53:16 +0000 (+0000) Subject: (ATVARIABLES): add TARGET_PYTHON as subst X-Git-Tag: release/2.9.6~31 X-Git-Url: https://git.donarmstrong.com/?p=lilypond.git;a=commitdiff_plain;h=cc24fb904390aaf7d011791e42eb7da020bb2b58 (ATVARIABLES): add TARGET_PYTHON as subst variable. --- diff --git a/ChangeLog b/ChangeLog index 2540eb14a2..37e2f062e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-05-17 Han-Wen Nienhuys + + * scripts/*.py: use TARGET_PYTHON iso PYTHON. + + * make/substitute.make (ATVARIABLES): add TARGET_PYTHON as subst + variable. + 2006-05-17 Erik Sandberg * lily/parser.yy: Change all syntax rules of type Music to SCM type diff --git a/config.make.in b/config.make.in index 8ecbc70b98..55dfaefda3 100644 --- a/config.make.in +++ b/config.make.in @@ -135,6 +135,7 @@ PATHSEP = @PATHSEP@ PERL = @PERL@ PLATFORM_WINDOWS = @PLATFORM_WINDOWS@ PYTHON = @PYTHON@ +TARGET_PYTHON = @PYTHON@ RANLIB = @RANLIB@ ROOTSEP = @ROOTSEP@ SHELL = @SHELL@ diff --git a/make/substitute.make b/make/substitute.make index 1fe34a194f..fc175ece72 100644 --- a/make/substitute.make +++ b/make/substitute.make @@ -19,6 +19,7 @@ ATVARIABLES = \ PERL\ PYTHON\ SHELL\ + TARGET_PYTHON \ TOPLEVEL_VERSION\ bindir\ datadir\ diff --git a/scripts/abc2ly.py b/scripts/abc2ly.py index 65ebc22738..6121e51c6a 100644 --- a/scripts/abc2ly.py +++ b/scripts/abc2ly.py @@ -1,4 +1,4 @@ -#!@PYTHON@ +#!@TARGET_PYTHON@ # -*- coding: utf-8 -*- # once upon a rainy monday afternoon. # diff --git a/scripts/convert-ly.py b/scripts/convert-ly.py index 5393ea3c76..c4c1e74082 100644 --- a/scripts/convert-ly.py +++ b/scripts/convert-ly.py @@ -1,4 +1,4 @@ -#!@PYTHON@ +#!@TARGET_PYTHON@ # # convert-ly.py -- Update old LilyPond input files (fix name?) # diff --git a/scripts/etf2ly.py b/scripts/etf2ly.py index 5fb09c7333..a5291e92ad 100644 --- a/scripts/etf2ly.py +++ b/scripts/etf2ly.py @@ -1,4 +1,4 @@ -#!@PYTHON@ +#!@TARGET_PYTHON@ # info mostly taken from looking at files. See also # http://lilypond.org/wiki/?EnigmaTransportFormat diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index a61b5302d0..e08126fcf7 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -1,4 +1,4 @@ -#!@PYTHON@ +#!@TARGET_PYTHON@ ''' Example usage: diff --git a/scripts/midi2ly.py b/scripts/midi2ly.py index a79279c395..364e37f375 100644 --- a/scripts/midi2ly.py +++ b/scripts/midi2ly.py @@ -1,4 +1,4 @@ -#!@PYTHON@ +#!@TARGET_PYTHON@ # # msdi2ly.py -- LilyPond midi import script # diff --git a/scripts/musicxml2ly.py b/scripts/musicxml2ly.py index a8bada64ac..5f25567c59 100644 --- a/scripts/musicxml2ly.py +++ b/scripts/musicxml2ly.py @@ -1,4 +1,4 @@ -#!@PYTHON@ +#!@TARGET_PYTHON@ import optparse import sys