X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=buildscripts%2Fmutopia-index.py;h=57a9a3f3d51383d84b7574b3b6aa1f3e96c19857;hb=723ff82864fd5713d80862a9184576b43e3959a6;hp=82f5bf007fb4709cd6c07aabf6caef1dcb53dba6;hpb=9f3572d98bb948c9689cd1f75401a029451fa001;p=lilypond.git diff --git a/buildscripts/mutopia-index.py b/buildscripts/mutopia-index.py index 82f5bf007f..57a9a3f3d5 100644 --- a/buildscripts/mutopia-index.py +++ b/buildscripts/mutopia-index.py @@ -36,7 +36,7 @@ For a good impression of the quality print out the PDF file. """ headertext_nopics= r""" -

Nothing to be seen here, move along. +

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,11 @@ 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) +allfiles = filter (lambda x: 'musicxml' not in x, allfiles) + gen_list (allfiles, outfile)