]> git.donarmstrong.com Git - lilypond.git/commitdiff
makelsr: use -d, look in build/ for convert-ly.
authorGraham Percival <graham@percival-music.ca>
Thu, 13 Jan 2011 13:10:11 +0000 (13:10 +0000)
committerGraham Percival <graham@percival-music.ca>
Thu, 13 Jan 2011 13:18:40 +0000 (13:18 +0000)
scripts/auxiliar/makelsr.py

index be4e7daff3a2bfd15b16aef6d6c5d69e737110a6..a7d89eb4da9b6e8dca25c1e1d6a2f97891cf0a60 100755 (executable)
@@ -62,6 +62,8 @@ else:
 # which convert-ly to use
 if os.path.isfile("out/bin/convert-ly"):
     conv_path='out/bin/'
+elif os.path.isfile("build/out/bin/convert-ly"):
+    conv_path='build/out/bin/'
 else:
     conv_path=''
 convert_ly=conv_path+'convert-ly'
@@ -163,7 +165,7 @@ def copy_ly (srcdir, name, tags):
     s = escape_backslashes_in_header (s)
     open (dest, 'w').write (s)
 
-    e = os.system (convert_ly+(" -e '%s'" % dest))
+    e = os.system (convert_ly+(" -d -e '%s'" % dest))
     if e:
         unconverted.append (dest)
     if os.path.exists (dest + '~'):