]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/mutopia-index.py
Merge branch 'master' of git://git.sv.gnu.org/lilypond
[lilypond.git] / buildscripts / mutopia-index.py
index 82f5bf007fb4709cd6c07aabf6caef1dcb53dba6..c73481aabad094643f2451c76a230d1efd92aa35 100644 (file)
@@ -36,7 +36,7 @@ For a good impression of the quality print out the PDF file.
 """
 
 headertext_nopics= r"""
-<p>Nothing to be seen here, move along.
+<p>No examples were found in this directory. 
 """
 
 #
@@ -148,7 +148,7 @@ hr { border:0; height:1; color: #000000; background-color: #000000; }\n
                 pictures = ['jpeg', 'png', 'xpm']
                 lst.write ('\n')
             else:
-                print "can't find" , `file_name`
+                print "cannot find" , `file_name`
 
         list_item (base + ext, 'The input', 'ASCII')
 
@@ -196,7 +196,9 @@ if not dirs:
 allfiles = []
 
 for d in dirs:
-    allfiles = allfiles + find ('*.ly.txt', d)
+    allfiles = allfiles + find ('*.ly', d)
+
+allfiles = filter (lambda x: not x.endswith ('snippet-map.ly') and not re.search ('lily-[0-9a-f]+', x), allfiles)
 
 gen_list (allfiles, outfile)