]> git.donarmstrong.com Git - lilypond.git/commitdiff
Thinko in buildscripts/makelsr.py and correction for said thinko.
authorGraham Percival <graham@percival-music.ca>
Sat, 5 May 2007 00:42:30 +0000 (17:42 -0700)
committerGraham Percival <graham@percival-music.ca>
Sat, 5 May 2007 00:42:30 +0000 (17:42 -0700)
buildscripts/makelsr.py
input/tolsr/expressive/GNUmakefile
input/tolsr/parts/GNUmakefile
input/tolsr/text/GNUmakefile

index bc79cf8839035828988f851352d5beb97729872a..ac206a2ea4ed215397380fff1960bf2609b355c3 100755 (executable)
@@ -23,12 +23,13 @@ def copy_dir_with_test(srcdir, destdir):
                return
        file_names = os.listdir (srcdir)
        for file in file_names:
-               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)
-               if s:
-                       notsafe.append(dest)
+               if (file.endswith ('.ly')):
+                       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)
+                       if s:
+                               notsafe.append(dest)
 
 
 for dir in dirs:
@@ -45,7 +46,6 @@ for dir in dirs:
                if (file.endswith ('.ly')):
                        if (file[:3] != 'AAA'):
                                os.remove( os.path.join(destdir,file) )
-
        ## copy in new files from LSR download
        copy_dir_with_test( srcdir, destdir )
        ## copy in new files in source tree
@@ -62,4 +62,3 @@ print "Unsafe files printed in lsr-unsafe.txt: CHECK MANUALLY!"
 print "  xargs git-diff < lsr-unsafe.txt"
 print
 
-
index 432f8c1c4ffb18d8be3e178b92f264aec9fce53d..3819fda13ab93d7d9ea56f7baa5664022fb6d964 100644 (file)
@@ -1,5 +1,3 @@
-%%  Do not edit this file; it is auto-generated from LSR!
-
 depth = ../../../
 
 STEPMAKE_TEMPLATES=documentation texinfo tex
index 432f8c1c4ffb18d8be3e178b92f264aec9fce53d..3819fda13ab93d7d9ea56f7baa5664022fb6d964 100644 (file)
@@ -1,5 +1,3 @@
-%%  Do not edit this file; it is auto-generated from LSR!
-
 depth = ../../../
 
 STEPMAKE_TEMPLATES=documentation texinfo tex
index 432f8c1c4ffb18d8be3e178b92f264aec9fce53d..3819fda13ab93d7d9ea56f7baa5664022fb6d964 100644 (file)
@@ -1,5 +1,3 @@
-%%  Do not edit this file; it is auto-generated from LSR!
-
 depth = ../../../
 
 STEPMAKE_TEMPLATES=documentation texinfo tex