]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/mutopia-index.py
Merge branch 'master' of ssh+git://jneem@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / buildscripts / mutopia-index.py
index 82f5bf007fb4709cd6c07aabf6caef1dcb53dba6..8bb5af36ab94d7ba00ff665a34804f13188bc3b7 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. 
 """
 
 #
@@ -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)