X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fbuild%2Flys-to-tely.py;h=c4e387547b18563b5fe6ba81e4f05fbf90e61129;hb=2ce6c91206c9f60bdcccb64d988c3c7c17c6bb6c;hp=6f6ad475e47e3355188ea85c6e66fe5b1cb258de;hpb=2bca5f7486573ef754e92b397692eff8260def52;p=lilypond.git diff --git a/scripts/build/lys-to-tely.py b/scripts/build/lys-to-tely.py index 6f6ad475e4..c4e387547b 100644 --- a/scripts/build/lys-to-tely.py +++ b/scripts/build/lys-to-tely.py @@ -92,13 +92,16 @@ for opt in options: texi_file_re = re.compile ('.*\.i?te(ly|xi)$') html_file_re = re.compile ('.*\.i?htm(l)?$') +xml_file_re = re.compile ('.*\.i?xml$') +tex_file_re = re.compile ('.*\.i?(la)?tex$') pdf_file_re = re.compile ('.*\.i?pdf$') def name2line (n): if texi_file_re.match (n): # We have a texi include file, simply include it: s = r"@include %s" % os.path.basename (n) - elif html_file_re.match (n) or pdf_file_re.match (n): + elif (html_file_re.match (n) or pdf_file_re.match (n) or + xml_file_re.match (n) or tex_file_re.match (n)): s = r""" @ifhtml @html