X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=buildscripts%2Flys-to-tely.py;h=e2df5a6bc3fbb2f282d755bd54f17a7f1fa8d8d3;hb=91708b30fba67f8fd589980e03ff420c26473a5a;hp=c026522434e37b77a453592aaca71487c2e5b1b3;hpb=2d19173a5554dc8633c1837aef30ac28db703947;p=lilypond.git
diff --git a/buildscripts/lys-to-tely.py b/buildscripts/lys-to-tely.py
index c026522434..e2df5a6bc3 100644
--- a/buildscripts/lys-to-tely.py
+++ b/buildscripts/lys-to-tely.py
@@ -81,15 +81,15 @@ for opt in options:
raise Exception ('unknown option: ' + o)
def name2line (n):
- # UGR
s = r"""
@ifhtml
@html
-
+
@end html
@end ifhtml
-@lilypondfile[%s]{%s}""" % (n, fragment_options, n)
+@lilypondfile[%s]{%s}
+""" % (os.path.basename (n), fragment_options, n)
return s
if files: