]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/makelsr.py
strip double ' ', to adapt to new string_split() semantics
[lilypond.git] / buildscripts / makelsr.py
index ac206a2ea4ed215397380fff1960bf2609b355c3..2206e61eeb38f00084f4d87cdcf45fe38c57b620 100755 (executable)
@@ -4,7 +4,7 @@ import os
 import os.path
 import shutil
 
-dirs = ['ancient','chords','connecting','contemporary','expressive','guitar','parts','repeats','scheme','spacing','staff','text','vocal']
+dirs = ['ancient','chords','connecting','contemporary','expressive','education','guitar','parts','pitches','repeats','scheme','spacing','staff','text','vocal','other']
 notsafe=[]
 
 try:
@@ -27,7 +27,8 @@ def copy_dir_with_test(srcdir, destdir):
                        src = os.path.join (srcdir, file)
                        dest = os.path.join (destdir, file)
                        copy_with_warning(src, dest)
-                       s = os.system('lilypond -dsafe -dbackend=svg -o /tmp/lsrtest ' + dest)
+                       os.system('convert-ly -e ' + dest)
+                       s = os.system('lilypond -dno-print-pages -dsafe -o /tmp/lsrtest ' + dest)
                        if s:
                                notsafe.append(dest)
 
@@ -49,7 +50,7 @@ for dir in dirs:
        ## copy in new files from LSR download
        copy_dir_with_test( srcdir, destdir )
        ## copy in new files in source tree
-       copy_dir_with_test( os.path.join ('input', 'tolsr', dir), destdir )
+       copy_dir_with_test( os.path.join ('input', 'new', dir), destdir )
 
 
 file=open("lsr-unsafe.txt", 'w')